Changeset 55448 in webkit
- Timestamp:
- Mar 2, 2010 6:53:28 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r55447 r55448 1 2010-03-02 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Support the HTTP OPTIONS verb (needed for preflight requests) 6 7 https://bugs.webkit.org/show_bug.cgi?id=34647 8 9 * platform/network/qt/QNetworkReplyHandler.cpp: 10 (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): 11 (WebCore::QNetworkReplyHandler::start): 12 1 13 2010-03-02 Evan Stade <estade@chromium.org> 2 14 -
trunk/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r52590 r55448 22 22 #include "QNetworkReplyHandler.h" 23 23 24 #include "CString.h" 24 25 #include "HTTPParsers.h" 25 26 #include "MIMETypeRegistry.h" … … 152 153 else if (r.httpMethod() == "DELETE") 153 154 m_method = QNetworkAccessManager::DeleteOperation; 155 #endif 156 #if QT_VERSION >= 0x040700 157 else if (r.httpMethod() == "OPTIONS") 158 m_method = QNetworkAccessManager::CustomOperation; 154 159 #endif 155 160 else … … 438 443 } 439 444 #endif 445 #if QT_VERSION >= 0x040700 446 case QNetworkAccessManager::CustomOperation: 447 m_reply = manager->sendCustomRequest(m_request, m_resourceHandle->request().httpMethod().latin1().data()); 448 break; 449 #endif 440 450 case QNetworkAccessManager::UnknownOperation: { 441 451 m_reply = 0;
Note: See TracChangeset
for help on using the changeset viewer.