Closed Bug 1440143 Opened 8 years ago Closed 8 years ago

Add application/json Content-Type to Lando pingback request

Categories

(Conduit Graveyard :: Transplant, enhancement)

Production
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: imadueme, Assigned: imadueme)

References

Details

Attachments

(1 file)

Lando uses the Connexions library which is very strict about incoming request data. It is strict so that it can match the request with the appropriate swagger specification. When transplant submits the pingback to lando, it does so without any Content-Type header assuming that Lando will figure it out. Connexions does not like this add immediately returns a 415 HTTP error. We should specify the application/json Content-Type.
Phabricator revision didn't get synced: https://phabricator.services.mozilla.com/D635
Comment on attachment 8953119 [details] autoland: add application/json content type to lando pingback request (bug 1440143). Byron Jones ‹:glob› has approved the revision. https://phabricator.services.mozilla.com/D635
Attachment #8953119 - Flags: review+
Pushed by bjones@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/1ae17f4c9ce6 autoland: add application/json content type to lando pingback request r=glob
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: MozReview → Conduit
Product: Conduit → Conduit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: