Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: net/test/embedded_test_server/http_request.cc

Issue 1859313002: Save-Data should not be added to CORS Access-Control-Request-Headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed kinuko comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/test/embedded_test_server/http_request.h" 5 #include "net/test/embedded_test_server/http_request.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } else if (token == "post") { 239 } else if (token == "post") {
240 return METHOD_POST; 240 return METHOD_POST;
241 } else if (token == "put") { 241 } else if (token == "put") {
242 return METHOD_PUT; 242 return METHOD_PUT;
243 } else if (token == "delete") { 243 } else if (token == "delete") {
244 return METHOD_DELETE; 244 return METHOD_DELETE;
245 } else if (token == "patch") { 245 } else if (token == "patch") {
246 return METHOD_PATCH; 246 return METHOD_PATCH;
247 } else if (token == "connect") { 247 } else if (token == "connect") {
248 return METHOD_CONNECT; 248 return METHOD_CONNECT;
249 } else if (token == "options") {
250 return METHOD_OPTIONS;
249 } 251 }
250 LOG(WARNING) << "Method not implemented: " << token; 252 LOG(WARNING) << "Method not implemented: " << token;
251 return METHOD_GET; 253 return METHOD_GET;
252 } 254 }
253 255
254 } // namespace test_server 256 } // namespace test_server
255 } // namespace net 257 } // namespace net
OLDNEW
« no previous file with comments | « net/test/embedded_test_server/http_request.h ('k') | third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698