- <p>Google programmed Android’s WebView to send an X-Requested-With header with every request.
- The value of the X-Requested-With header is set to the application ID, which in the case of Privacy Browser is <code>com.stoutner.privacybrowser.standard</code>.
- Currently, it isn't possible to remove this header, but the value can be changed. By default, Privacy Browser sends a null (empty) value for the X-Requested-With header.
- Even though the spec allows for null header values, some web servers don't like them, so Privacy Browser has the option to revert to the default behavior of sending the app ID.
- Because this setting is cached when a URL is first loaded, and isn't changed when reloading a page or navigating history,
- changes to this setting may not be applied until Privacy Browser is restarted.
- There is a <a href="https://www.stoutner.com/the-x-requested-with-header/">blog post</a> with additional information.
- The X-Requested-With header will be <a href="https://redmine.stoutner.com/issues/37">completely removed</a> in the 4.x series with the release of Privacy WebView.</p>
+ <p>Google ha programmato la webview di Android per inviare un'intestazione X-Requested-With con ogni richiesta.
+ Il valore dell'intestazione X-Requested-With è impostato sulla ID della applicazione, ovvero nel caso di Privacy Browser, è <code>com.stoutner.privacybrowser.standard</code>.
+ Attualmente non è possibile rimuovere questa intestazione, è però possibile modificarne il valore. Di default Privacy Browser invia un valore nullo (vuoto) per l'intestazione X-Requested-With.
+ Anche se le specifiche ammettono valori nulli per l'intestazione, ad alcuni web server non piace,
+ per cui Privacy Browser ha l'opzione per modificare il comportamento a quello di default per inviare la ID dell'app.
+ Dal momento che questa impostazione è messa nella cache quando si carica per la prima volta una URL, e non viene modificata nel caso in cui una pagina venga ricaricata o ripresa dalla cronologia,
+ le modifiche a questa impostazione non vengono applicate fino al riavvio di Privacy Browser.
+ E' stato creato un <a href="https://www.stoutner.com/the-x-requested-with-header/">blog post</a> con informazioni aggiuntive.
+ Le intestazioni X-Requested-With saranno <a href="https://redmine.stoutner.com/issues/37">rimosse completamente</a> nella serie 4.x con il rilascio di Privacy WebView.</p>