commit | df29c7dc69965462cd19de8910b04c8cb463e57f | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Wed Feb 15 13:34:13 2012 -0500 |
committer | Jesse Wilson <jessewilson@google.com> | Wed Feb 15 13:34:13 2012 -0500 |
tree | c561e345433d86857f1dd149ebb14f7e91257687 | |
parent | bdd17cde8cf675f5d5703aad4dfb565932fb4c50 [diff] |
Don't attempt to parse an HTTP response body on HEAD requests. Previously if the response had a Content-Length or Transfer-Encoding header we assumed it had a body. This was untrue of HEAD requests. This is not a regression. Bug: http://code.google.com/p/android/issues/detail?id=24672 Change-Id: I264db2014e681a6f8e93cd40b0f1640c95103d21