Closed Bug 1639684 Opened 5 years ago Closed 5 years ago

Report server_error on HTTP 5XX when polling for changes

Categories

(Firefox :: Remote Settings Client, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: leplatrem, Assigned: leplatrem)

Details

Attachments

(1 file)

A server_error is reported during sync if the server returns a 5XX.

But when polling for changes, we report a content_error because the CDN transform 5XX errors in HTML and serve them with content type text/html instead of application/json.

We should check for the HTTP status first

Assignee: nobody → mathieu
Status: NEW → ASSIGNED
Pushed by mleplatre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c093019ca11 Report server_error on HTTP 5XX when polling for changes r=rdalal
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: