[WebView] Fix request body handling in WebServer for testing
This is a preliminary change for https://crrev.com/c/1928100. Do not try to read request's payload body if - There is no Content-Length header, and - Transfer-Encoding: chunked is not found. Bug: 1027011 Change-Id: I20de558733ba215419575d8fe87d624cef126f7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936438Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#721364}
Showing
Please register or sign in to comment