DescriptionAllow no content-type for POST, PUT and PATCH methods.
This CL allows to have no content type for UrlFetcher's POST, PUT and PATCH methods, if the body is empty.
At the same time, POST_WITHOUT_BODY is deprecated, as POST
should work such a case. The following CL will clean it up, after the code using it is fixed.
BUG=148632
TEST=Ran unit_tests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181039
Patch Set 1 #Patch Set 2 : #
Total comments: 6
Patch Set 3 : Rebase #Patch Set 4 : Move the DCHECK to SetUploadData. #
Total comments: 2
Patch Set 5 : Rebase #Patch Set 6 : Add DCHECK. #Messages
Total messages: 9 (0 generated)
|