Cleanup checking for the request method.
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 08:20:40 +0000 (08:20 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 08:20:40 +0000 (08:20 +0000)
commit8dd6fdd126cdc615e3c9d34d22009ff64898fccd
tree88f5609fb2e5972e65e2e11272717152cf28b23f
parentdeec1f1f0ca5a17ec6becdf7365b25bae38bfd79
Cleanup checking for the request method.

* Check the request method only in QWebNetworkManager::add.
* Currently HEAD, GET, POST are allowed and for everything else
  QWebNetworkManager::add returns false.
* Returning false is compatible with ResourceHandle::start and it
  can be used in ResourceHandle::loadResourceSynchronously to generate
  a ResourceError

Signed-off-by: Lars Knoll <lars@trolltech.com>
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/qt/ResourceHandleQt.cpp
WebKit/qt/Api/qwebnetworkinterface.cpp
WebKit/qt/ChangeLog