DescriptionPrevents sending of 'orgin' in the "Access-Control-Request-Headers" when preflight requests are made.
As per the W3C CORS Spec(http://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0),
the "Access-Control-Request-Headers" should contain only author request headers. Origin header was
set(by UA) for the actual request before the preflight request was done.
Avoid setting of Origin header for the actual request in case of preflight. Origin header is anyways
set for the actual request in preflightSuccess(). This makes the behavior same as Mozilla Firefox browser.
R=abarth@chromium.org, kbr@chromium.org, bbudge@chromium.org
BUG=258828
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154346
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 13 (0 generated)
|