[webkit-help] Only GET, HEAD and POST methods available with XMLHttpRequest

Julien Chaffraix julien.chaffraix at gmail.com
Sat Mar 30 17:53:20 PDT 2013


> I'm building on windows with the following command.
>
> build-webkit --wincairo --release

OK, you are using the libcURL backend, which doesn't support what you want.

The fix would have to modify ResourceHandleManager::initializeHandle
around [1]. As you can see that the code has no fallback for methods
other than GET / POST / PUT or HEAD so you would need one that sets
CURLOPT_CUSTOMREQUEST. I haven't dived in this code in while so I
could be wrong.

Cheers,
Julien

[1] http://trac.webkit.org/browser/trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp#L734


More information about the webkit-help mailing list