Changes between Initial Version and Version 1 of Ticket #29347, comment 2


Ignore:
Timestamp:
Feb 6, 2019, 8:00:35 PM (10 months ago)
Author:
dcf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29347, comment 2

    initial v1  
    1 The basic domain fronting option seems to be possible. You can't override the Host header in a [https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API fetch] or [https://developer.mozilla.org/en-US/docs/Glossary/XHR_(XMLHttpRequest) XMLHttpRequest] because Host is a [https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name forbidden header name]. I tried it, and any changes I made to Host were silently ignored. However you can set Host in [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders webRequest.onBeforeSendHeaders], at least in Firefox 65, on which I was testing.
     1The basic domain fronting operation seems to be possible. You can't override the Host header in a [https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API fetch] or [https://developer.mozilla.org/en-US/docs/Glossary/XHR_(XMLHttpRequest) XMLHttpRequest] because Host is a [https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name forbidden header name]. I tried it, and any changes I made to Host were silently ignored. However you can set Host in [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders webRequest.onBeforeSendHeaders], at least in Firefox 65, on which I was testing.
    22
    33The following extension prints out the expected "I’m just a happy little web server." in the `--jsconsole`.