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

Unified Diff: net/url_request/url_fetcher.h

Issue 12096093: Add POST_WITHOUT_BODY to the UrlFetcher's method. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher.h
diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h
index 5fa8b3b733b2fa1ec63a7a0ceecc6603fa3efc0e..6d3f0e99862b40599fae667c2b35f9af22bf0e08 100644
--- a/net/url_request/url_fetcher.h
+++ b/net/url_request/url_fetcher.h
@@ -82,6 +82,10 @@ class NET_EXPORT URLFetcher {
// <winnt.h> defines a DELETE macro.
PUT,
PATCH,
+
+ // This is POST method with no body, no content-type header and
+ // no content-length header.
+ POST_WITHOUT_BODY,
};
// Used by SetURLRequestUserData. The callback should make a fresh
« no previous file with comments | « no previous file | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698