Changeset 35167 in webkit
- Timestamp:
- Jul 14, 2008, 1:58:39 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r35166 r35167 1 2008-07-14 Adele Peterson <adele@apple.com> 2 3 Reviewed by Geoff. 4 5 Fix for <rdar://problem/5784890> REGRESSION (Safari 3): Can't edit SpeedStream 4100 DSL modem settings 6 7 The web server on this particular piece of hardware doesn't handle "text/xml" in the 8 Accept header if the headers are sent in a certain order. Safari 2 used to send "*/*" in 9 the Accept header. Firefox 2 sent "text/xml" but in an acceptable order for the web 10 server. And Firefox 3 doesn't send "text/xml" at all in the Accept header since it 11 is being deprecated in favor of "application/xml". We decided that the best solution is 12 to match Firefox 3 and stop sending "text/xml" in the Accept header. 13 14 No test. There appears to be no way to get the raw headers in the original order in perl/php. 15 16 * loader/FrameLoader.cpp: (WebCore::FrameLoader::addExtraFieldsToRequest): 17 1 18 2008-07-14 Sam Weinig <sam@webkit.org> 2 19 -
trunk/WebCore/loader/FrameLoader.cpp
r35151 r35167 3352 3352 3353 3353 if (mainResource) 3354 request.setHTTPAccept(" text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5");3354 request.setHTTPAccept("application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"); 3355 3355 } 3356 3356
Note:
See TracChangeset
for help on using the changeset viewer.