HttpResponseCache icon indicating copy to clipboard operation
HttpResponseCache copied to clipboard

Allow pages not ending in newline

Open colinmadere opened this issue 13 years ago • 3 comments

Line 202 of Streams.java bombs out if a page ends in a non-newline. Seems extreme, should allow such a scenario (I'm running into it right now!).

I would suggest just completing the read process there instead of throwing the Exception.

colinmadere avatar Dec 04 '12 21:12 colinmadere

This appears to be a problem with the original source as well.

colinmadere avatar Dec 04 '12 22:12 colinmadere

Could you report this issue at https://code.google.com/p/android/ and link to it? We'll definitely want to get it fixed upstream as well as here.

candrews avatar Dec 04 '12 22:12 candrews

If you submit a pull request with a fix, and a unit test that previously failed and now passes, that would get it resolved super quick. Thanks!

candrews avatar Dec 04 '12 22:12 candrews