Commit 078ce1ec authored by Tobias Thierer's avatar Tobias Thierer
Browse files

Revert "Fix regression in the HTTP request line"

This reverts commit 8e96772d.

This revert reintroduces a change the behavior of Http(s)URLConnection:
URLs with an empty path ("http://example.com") now get normalized to
a path with one empty element ("http://example.com/").

There was only one known case where the change in behavior caused
problems with a server, however that is no longer reproducable (perhaps
the server has been fixed). Therefore, it seems safe to introduce the
behavior change now.

The advantage of introducing this behavior change now is that we don't
need to carry this local patch. This makes it easier to update to later
versions of OkHttp in future.

Bug: 30107354
Change-Id: Ib505530274867375dabebb305e8005038d8f650d
parent 410309e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment