| Summary: | Provide hook to alter (or at least add headers to) URL requests initiated from WKWebView | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Stuart Morgan <stuartmorgan> |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Enhancement | CC: | ap, bfulgham, dieter, eugenebut, m.goleb+bugzilla, mkwst, sam, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | iPhone / iPad | ||
| OS: | All | ||
|
Description
Stuart Morgan
2015-01-16 15:43:55 PST
Another case where this has come up is implementing Do Not Track, which requires adding a header to all requests. Per our offline discussion, a partial solution that avoids synchronous communication back would be just a way to register a server->header map (with wildcards), that would cause all future requests to those servers to add the corresponding headers. It doesn't address all use cases, but would be a significant improvement. I forgot to note that this is rdar://19506439 This is apparently making Mozilla's foray into iOS a bit more difficult as well: https://mail.mozilla.org/pipermail/mobile-firefox-dev/2014-December/000993.html Alexey, could you help triage this to folks who might be able to look at the exposed API surface? John, Brent, perhaps one of you could route this to interested folks? |