From 7095b6d7bd33c5bb6be7e67075b44b19d9b4f837 Mon Sep 17 00:00:00 2001 From: ap Date: Mon, 3 Apr 2006 17:46:05 +0000 Subject: [PATCH] Fixed a comment (forgot to save the file before the previous commit). * xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::open): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13653 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebCore/ChangeLog | 7 +++++++ WebCore/xml/xmlhttprequest.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 45830abfced7..13abc215cfe0 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,10 @@ +2006-04-03 Alexey Proskuryakov + + Fixed a comment (forgot to save the file before the previous commit). + + * xml/xmlhttprequest.cpp: + (WebCore::XMLHttpRequest::open): + 2006-04-03 Alexey Proskuryakov Reviewed by Darin. diff --git a/WebCore/xml/xmlhttprequest.cpp b/WebCore/xml/xmlhttprequest.cpp index 7bc418a87e14..64b74bf6d34b 100644 --- a/WebCore/xml/xmlhttprequest.cpp +++ b/WebCore/xml/xmlhttprequest.cpp @@ -271,7 +271,7 @@ void XMLHttpRequest::open(const String& method, const KURL& url, bool async, con if (!password.isNull()) m_url.setPass(password.deprecatedString()); - // Methods names are case-sensitive, but Firefox uppercases methods it knows + // Method names are case sensitive. But since Firefox uppercases method names it knows, we'll do the same. String methodUpper(method.upper()); if (methodUpper == "CONNECT" || methodUpper == "COPY" || methodUpper == "DELETE" || methodUpper == "GET" || methodUpper == "HEAD" || methodUpper == "INDEX" || methodUpper == "LOCK" || methodUpper == "M-POST" || methodUpper == "MKCOL" || methodUpper == "MOVE" -- 2.36.0