Oh well, looks like the guys at apache seem to have figured this out. As far as I remember, the blocker we were having was going to be fixed as soon as they resolved https://issues.apache.org/jira/browse/HTTPCLIENT-1632. And so we seem to have some supported httpclient that should work across all androids, here: https://github.com/smarek/httpclient-android/wiki/Project-Introduction.
I could try building with this library and looking at what happens, but this is something that the folks at Mozilla would love to have, last time I checked. Will check out what they have done, and see if this stuff could be applied upstream as well. Best, amoghbl1 [email protected] > On Feb 29, 2016, at 9:50 PM, Hans of Guardian <[email protected]> > wrote: > > (CC'ing the list again) > > On Feb 29, 2016, at 9:46 PM, Mark Murphy wrote: > >> On Mon, Feb 29, 2016, at 10:01, Hans of Guardian wrote: >>> Donno if you saw this on guardian-dev. Think there is any chance that it >>> could make sense to make a custom HttpURLConnection subclass, or some >>> other subclass, based on the idea of taking the Android code and >>> injecting what we need in it? >> >> There's nothing stopping somebody from doing that. We discussed this on >> Friday, as this is the "maintain your own HTTP stack" approach. The fact >> that you start with somebody else's stack doesn't change the fact that >> you have to maintain it. :-) >> >> This approach is far less smelly than is reflection-based hacking. It's >> not that hard at the outset -- if nothing else, one could use OkHttp 2.x >> and their HttpURLConnection bridge API. However, this is a non-trivial >> long-term maintenance issue. > > Yeah, there is the maintenance, but mostly that would be a matter of > following what Google does with their maintenance and importing it. The > changes would be quite contained, I think. > > I'm going to push HTTP proxies with Tor devs again, that's really the best > outcome I think: make an HTTP proxy as a first class access method for Tor. > Then all the APIs will just work with it, and Orbot can remove all the hacks > to support HTTP proxies. > > .hc > _______________________________________________ > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev > To unsubscribe, email: [email protected]
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To unsubscribe, email: [email protected]
