Project

General

Profile

Actions

Feature #37

open

Competely remove the X-Requested-With header

Added by Soren Stoutner about 6 years ago. Updated 3 months ago.

Status:
New
Priority:
4.x
Start date:
06/28/2016
Due date:
% Done:

0%

Estimated time:

Description

By default, WebView sends an X-Requested-With header with the application ID (com.stoutner.privacybrowser.standard) with every page load. It looks like it is possible to change the header, but not to leave it out (Lightning sends the header with a null value).

http://stackoverflow.com/questions/17832313/android-disable-x-requested-with-header-in-webview

http://stackoverflow.com/questions/7610790/add-custom-headers-to-webview-resource-requests-android#comment10183596_8209272

At a minimum, it would be nice to allow the user to set a custom header. Ultimately, we might need to embed a custom WebView to get full control of the functionality.

Actions

Also available in: Atom PDF