diff options
author | apavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 15:53:50 +0000 |
---|---|---|
committer | apavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 15:53:50 +0000 |
commit | 41be47ed624f3a8b15ab0c1b97f04ca40b7f0af9 (patch) | |
tree | 6955cf220d0044228750e25861356004b0e8879b | |
parent | 949024149570551a332b15546c0129e048943121 (diff) | |
download | chromium_src-41be47ed624f3a8b15ab0c1b97f04ca40b7f0af9.zip chromium_src-41be47ed624f3a8b15ab0c1b97f04ca40b7f0af9.tar.gz chromium_src-41be47ed624f3a8b15ab0c1b97f04ca40b7f0af9.tar.bz2 |
Revert "Debug checks that URLRequest::set_method arguments match the contract."
This change broke WebKit test http/tests/xmlhttprequest/methods-lower-case.html
This reverts commit a964df83606a31b3674e20989e7dc6db9f3d4e86.
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/9207003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117641 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/url_request/url_request.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc index d82c656..0575090 100644 --- a/net/url_request/url_request.cc +++ b/net/url_request/url_request.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -12,7 +12,6 @@ #include "base/memory/singleton.h" #include "base/message_loop.h" #include "base/metrics/stats_counters.h" -#include "base/string_util.h" #include "base/synchronization/lock.h" #include "net/base/auth.h" #include "net/base/host_port_pair.h" @@ -377,8 +376,6 @@ void URLRequest::set_first_party_for_cookies( void URLRequest::set_method(const std::string& method) { DCHECK(!is_pending_); - DCHECK(!method.empty()); - DCHECK_EQ(StringToUpperASCII(method), method); method_ = method; } |