Closed Bug 1283379 Opened 8 years ago Closed 8 years ago

Log when a RESTRequest encounters a redirect

Categories

(Cloud Services :: Firefox: Common, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
Tracking Status
firefox50 --- fixed

People

(Reporter: markh, Assigned: markh)

Details

Attachments

(1 file)

We've seen a couple of bugs where a redirection for a REST request has caused problems, typically by a proxy - eg, bug 1219219, bug 1261662. It would be useful for diagnostics if this redirect was logged - it already is by resource.js, just not rest.js. I'll attach a patch that logs the same thing resource.js already does.
Comment on attachment 8766687 [details]
Bug 1283379 - have RESTRequest log on channel redirect.

https://reviewboard.mozilla.org/r/61496/#review58366

Looks good to me.
Attachment #8766687 - Flags: review?(tchiovoloni) → review+
Pushed by mhammond@skippinet.com.au:
https://hg.mozilla.org/integration/autoland/rev/1b1117b53d13
have RESTRequest log on channel redirect. r=tcsc
https://hg.mozilla.org/mozilla-central/rev/1b1117b53d13
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: