<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - XHR Remove Headers"
href="https://bugs.webkit.org/show_bug.cgi?id=160432#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - XHR Remove Headers"
href="https://bugs.webkit.org/show_bug.cgi?id=160432">bug 160432</a>
from <span class="vcard"><a class="email" href="mailto:youennf@gmail.com" title="youenn fablet <youennf@gmail.com>"> <span class="fn">youenn fablet</span></a>
</span></b>
<pre>The simplest approach might be to grep the code for
- addHTTPHeaderField
- HTTPHeaderName::
You will find places like CachedResource (for referrer and origin), DocumentThreadableLoader, CachedResourceLoader, ResourceLoader.
Other headers might be specified in WebKit platform a specific code (see soup, cf code).
Non-WebKit code my also update headers: HTTP libraries, browser a specific code.
If you are building your app with a browser, one solution may be a local proxy between your client and server.
If you are using a WebView, there may be callbacks that may allow you to inspect and modify requests before sending them.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>