Allow URLRequest::AppendChunkToUpload to take 0-byte final chunks.
commit3dc8c88b77aadf129ce466f67d05d0f950c904a2
authormmenke <mmenke@chromium.org>
Thu, 19 Feb 2015 15:11:27 +0000 (19 07:11 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Feb 2015 15:11:58 +0000 (19 15:11 +0000)
tree8d91dd6666ef6a52a0fcbbc2495737fe276b5b93
parent1a8aa27dafb948a6817ba9050722f5db49787006
Allow URLRequest::AppendChunkToUpload to take 0-byte final chunks.

Also add HttpStreamParser unit tests for 0 byte final chunks.

BUG=405678

Review URL: https://codereview.chromium.org/921453003

Cr-Commit-Position: refs/heads/master@{#317051}
net/http/http_stream_parser_unittest.cc
net/url_request/url_request.cc
net/url_request/url_request.h