Commit d2e78a95 authored by Tobias Thierer's avatar Tobias Thierer Committed by Neil Fuller
Browse files

Regression test for HTTP proxy request line

Adds a test that demonstrates a regression from M in
the HTTP request line when a proxied connection
is made. It only affects URLs with empty paths (i.e. ones
without even a '/' after the host / authority). For
example, on M the request line for a request to
new URL("http://myhost").openConnection() would be:

GET http://myhost HTTP/1.1

but on N, without this change, it would be:

GET http://myhost/ HTTP/1.1

This change reverts to the M behavior.

Bug: 29983827
Change-Id: Ic457230cb9808546e079680b7ace79423ec30544
(cherry picked from commit d1288ce6)
parent e2137568
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment