Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Issue 213010: Don't add default Accept-Language and Accept-Charset headers if specific ones were set in URLRequest (Closed)

Created:
11 years, 3 months ago by Dmitry Titov
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), pam+watch_chromium.org
Visibility:
Public.

Description

Modify URLRequestHttpJob to avoid adding default Accept-Language and Accept-Charset headers if the specific ones were set on URLRequest. BUG=20894 TEST=enabled layout test LayoutTests/http/tests/xmlhttprequest/access-control-basic-whitelist-request-headers.html

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M net/url_request/url_request_http_job.cc View 2 1 chunk +12 lines, -4 lines 5 comments Download
M webkit/tools/layout_tests/test_expectations.txt View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Dmitry Titov
Darin, Pam - could you please take a look? This hardcoding always results in adding ...
11 years, 3 months ago (2009-09-17 20:48:26 UTC) #1
darin (slow to review)
Looking back into the old repository, the change was made by Jungshik here: http://chrome-corpsvn.mtv/viewvc?view=rev&root=chrome&revision=26165 (That ...
11 years, 3 months ago (2009-09-17 21:14:30 UTC) #2
Dmitry Titov
Replying again, in the bug: Thanks Darin! After some poking around I think I understand ...
11 years, 3 months ago (2009-09-18 00:06:36 UTC) #3
Dmitry Titov
Could you give it another look? I've changed the URLRequestHttpJob to avoid adding default values ...
11 years, 3 months ago (2009-09-21 22:55:22 UTC) #4
darin (slow to review)
I'd like to defer review to Eric Roman. If he's happy, I'm happy. -Darin On ...
11 years, 3 months ago (2009-09-21 22:58:22 UTC) #5
eroman
<General_Design> I am OK with this approach, in order to fix the immediate bug. However ...
11 years, 3 months ago (2009-09-22 01:02:45 UTC) #6
Dmitry Titov
11 years, 3 months ago (2009-09-24 01:43:28 UTC) #7
Fixed all, but it's now in http://codereview.chromium.org/218015

Powered by Google App Engine
This is Rietveld 408576698