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

Unified Diff: content/common/net/url_fetcher_impl.cc

Issue 8898016: Added HTTP DELETE request type to content:URLFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/common/url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/net/url_fetcher_impl.cc
===================================================================
--- content/common/net/url_fetcher_impl.cc (revision 114213)
+++ content/common/net/url_fetcher_impl.cc (working copy)
@@ -814,6 +814,10 @@
request_->set_method("HEAD");
break;
+ case DELETE_REQUEST:
+ request_->set_method("DELETE");
+ break;
+
default:
NOTREACHED();
}
« no previous file with comments | « no previous file | content/public/common/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698