<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Regarding agent, I’d like to have it pick up the Application name, such that a rip-off’s replacement of AndBible will result in the ripoff’s name being in the agent string.<div class=""><br class=""></div><div class="">— DM</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 4, 2015, at 1:29 PM, Chris Burrell &lt;<a href="mailto:chris@burrell.me.uk" class="">chris@burrell.me.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">With Java, I think you simply set the http.agent property at a System level.</div><div class=""><br class=""></div><div class="">We already have a CWProject.setFrontendName() that could be used to obtain the frontend's identity, though presumably that would be mostly empty.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 4 July 2015 at 17:41, DM Smith <span dir="ltr" class="">&lt;<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">If we can do it without disruption to desktop apps, i.e. non-Android, I’m fine with changing to something different. I’d be happy to test it in BibleDesktop.<div class="">Do you know if they have FTP support as well. I’m nearly done with adding SWORD style FTP support.</div><div class=""><br class=""></div><div class="">Also, I’d like to suggest that we figure out how to modify the User Agent of the request to indicate the application name. We’d like to quantify the downloads by app and perhaps the version of the app.</div><div class=""><br class=""><div class="">— DM</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Jul 4, 2015, at 9:10 AM, Martin Denham &lt;<a href="mailto:mjdenham@gmail.com" target="_blank" class="">mjdenham@gmail.com</a>&gt; wrote:</div><br class=""></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Does anybody have any thoughts or considerations regarding the use of HttpClient by JSword as opposed to the use of HttpURLConnection?<div class=""><br class=""></div><div class="">Recently I investigated the use of And Bible on Chrome using <a href="https://chrome.google.com/webstore/detail/arc-welder/emfinbmielocnlhgmfkkmkngdoccbadn" target="_blank" class="">ARC Welder</a> and discovered that Apache HttpClient is currently incompatible with Chromium (see <a href="https://code.google.com/p/chromium/issues/detail?id=384940" target="_blank" class="">issue</a>) .&nbsp; Then I also stumbled over this <a href="http://developer.android.com/training/basics/network-ops/connecting.html#http-client" target="_blank" class="">recommendation by Google</a> to use HttpURLConnection on Android rather than other http clients.</div><div class=""><br class=""></div><div class="">I realise Android is just one of many OSs that JSword runs on but wondered what thoughts people might have regarding the use of this library as opposed to HttpURLConnection.</div><div class=""><br class=""></div><div class="">Cheers<br class=""></div><div class="">Martin</div></div></div></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div></div><br class="">_______________________________________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">http://www.crosswire.org/mailman/listinfo/jsword-devel<br class=""></div></blockquote></div><br class=""></div></body></html>