DescriptionAdd POST_WITHOUT_BODY to the UrlFetcher's method.
This CL adds a new method enum POST_WITHOUT_BODY. In most cases, POST request has non-empty body and non-content-type header. The current implementation has some (D)CHECKs for it.
However, there are some cases that we'd like to send POST request without body (or, we may say it is empty body), content-type and content length headers. The new method POST_WITHOUT_BODY is for supporting such cases.
BUG=148628
TEST=Ran unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180478
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Add comment fot the new enum value. #Patch Set 4 : Rebase #Messages
Total messages: 9 (0 generated)
|