Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1772

Check response headers on error to retry if requested by the server.

    XMLWordPrintable

    Details

    • Sprint:
      Moodle Mobile 3.1.3

      Description

      On some sites like moodlecloud when the volume of requests is higher than a value the server can request to try again after some time to avoid DoS.

      When a 429 response status is detected we should:

      1. Check for "Retry-After" field on response header.
      2. Stop all requests until retry time passed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              pferre22 Pau Ferrer
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Oct/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 30 minutes
                  1d 30m
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified