Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-2731

An opinionated Android HTTP client

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Android
    • None
    • SIMPLY S10 April 28 - May 12, SIMPLY S11 May 12 - May 26, SIMPLY S12 May 26 - June 9, SIMPLY S13 June 9 - June 23, SIMPLY S14 June 23 - July 7

      Currently, the Library Simplified Android app is using a rather elderly application-specific wrapper over the old-style HttpURLConnection class. This wrapper implements various bits of LS-specific logic such as trying requests without authentication first (due to the way that various book distributors handle redirects), parsing problem reports, and so on.

      The AudioBooks API uses the more modern okhttp library directly.

      This means that there's a subtle difference in how HTTP requests behave based on which component of the application as a whole is making the requests.

      I'd like to introduce an application-agnostic HTTP client library that implements all of the LS-specific logic. I'd then refactor the app and the audio books components to use that library. The library itself would be a thin wrapper over okhttp but using our policies.

            markraynsford Mark Raynsford
            markraynsford Mark Raynsford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: