[SOUP] Network process assertion in NetworkDataTask::continueHTTPRedirection
[WebKit-https.git] / Source / WebKit2 / NetworkProcess / soup / NetworkDataTaskSoup.cpp
index 8331c39..1763652 100644 (file)
@@ -619,7 +619,7 @@ void NetworkDataTaskSoup::continueHTTPRedirection()
         request.clearHTTPReferrer();
 
     bool isCrossOrigin = !protocolHostAndPortAreEqual(m_firstRequest.url(), request.url());
-    if (!equalLettersIgnoringASCIICase(request.httpMethod(), "GET")) {
+    if (!equalLettersIgnoringASCIICase(request.httpMethod(), "get")) {
         // Change newRequest method to GET if change was made during a previous redirection or if current redirection says so.
         if (m_soupMessage->method == SOUP_METHOD_GET || !request.url().protocolIsInHTTPFamily() || shouldRedirectAsGET(m_soupMessage.get(), isCrossOrigin)) {
             request.setHTTPMethod("GET");