LayoutTests:
Reviewed by Oliver.
- re-enable testing of HEAD methods, now that bugs relating to these are fixed
* http/tests/xmlhttprequest/methods-async-expected.txt:
* http/tests/xmlhttprequest/methods-async.html:
* http/tests/xmlhttprequest/methods-expected.txt:
* http/tests/xmlhttprequest/methods.html:
WebCore:
Reviewed by Oliver.
- more ResourceLoader cleanup
- moved HTTPHeaderMap out of ResourceRequest class, so ResourceResponse will be able to use it too
- took out attempts to suppress setting of "HEAD" and "GET" methods, since underlying bugs are now fixed
* loader/LoaderFunctions.h:
* loader/mac/LoaderFunctionsMac.mm:
(WebCore::ServeSynchronousRequest):
* loader/mac/WebSubresourceLoader.mm:
(-[WebCoreSubresourceHandle initWithLoader:]):
* platform/network/HTTPHeaderMap.h: Added.
* platform/network/ResourceLoader.cpp:
(WebCore::ResourceLoader::requestHeaders):
* platform/network/ResourceLoader.h:
* platform/network/ResourceRequest.h:
* platform/network/cf/ResourceLoaderCFNet.cpp:
(WebCore::addHeadersFromHashMap):
* xml/xmlhttprequest.cpp:
(WebCore::XMLHttpRequest::send):
* xml/xmlhttprequest.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17278
268f45cc-cd09-0410-ab3c-
d52691b4dbfc