Actions
Issue #1103
closed/crane/repositories endpoint uses wrong header
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Crane:
1.1.0
Platform Release:
Target Release - Crane:
1.1.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:
Description
The endpoint ```/crane/repositories``` looks for the ```Content-Type``` header to decide what type of content to return in the response. That is an incorrect use of this header, and the correct one to use is ```Accept```.
Actions
Check 'Accept' header to determine content type to return
https://pulp.plan.io/issues/1103 fixes #1103