Closed
Bug 1153319
Opened 10 years ago
Closed 2 years ago
make balrog submitter tools use JSON in request bodies instead of multipart form data
Categories
(Release Engineering :: Release Automation, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Unassigned)
Details
The new Balrog UI talks to the backend with requests that submit data in JSON format rather than form encoding. However, our command line tools still use form encoding, which means the backend needs to support both. We should switch the command line tools to JSON and drop support for form encoding.
Looking at Requests' API it looks like this may be extremely simple:
data – the body to attach to the request. If a dictionary is provided, form-encoding will take place.
json – json for the body to attach to the request (if data is not specified).
If we s/data/json/ a few places in https://github.com/mozilla/build-tools/blob/master/lib/python/balrog/submitter/api.py it may all just work...need to do some testing though.
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Component: Release Automation: Other → Release Automation: Updates
Updated•2 years ago
|
Severity: normal → N/A
Type: defect → enhancement
Comment 1•2 years ago
|
||
AFAICT this is done.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Updated•11 months ago
|
Component: Release Automation: Updates → Release Automation
You need to log in
before you can comment on or make changes to this bug.
Description
•