DescriptionSplit header modification out of willSendRequest
Add a new FetchContext callback, prepareRequest, which provides a final opportunity to modify ResourceRequest headers before it is sent. Call it before Resource creation, so that Resource::m_resourceRequest is exactly the request sent out of blink.
Make willSendRequest() take a const ResourceRequest&; it is now purely informational.
BUG=632580
Patch Set 1 #Patch Set 2 : Split header modification out of willSendRequest #Patch Set 3 : Fix test #Patch Set 4 : removed some accidental file adds #
Total comments: 5
Patch Set 5 : Filter the header instead #
Total comments: 1
Messages
Total messages: 36 (23 generated)
|