We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/v1/release/files_by_category
Content-Type
The endpoint /v1/release/files_by_category[1] is unexpectedly sensitive to the Content-Type submitted, although no data is submitted nor required.
Consider the following query:
curl -H "Content-Type: application/json" -XPOST https://fastapi.metacpan.org/v1/release/files_by_category/OALDERS/HTTP-Message-6.36
would yield a 500 Internal Server Error, whereas:
500 Internal Server Error
curl -XPOST https://fastapi.metacpan.org/v1/release/files_by_category/OALDERS/HTTP-Message-6.36
which simply has no Content-Type header would return a 200 OK
200 OK
[1]
metacpan-api/lib/MetaCPAN/Server/Controller/Release.pm
Line 120 in d87b275
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The endpoint
/v1/release/files_by_category
[1] is unexpectedly sensitive to theContent-Type
submitted, although no data is submitted nor required.Consider the following query:
would yield a
500 Internal Server Error
, whereas:which simply has no
Content-Type
header would return a200 OK
[1]
metacpan-api/lib/MetaCPAN/Server/Controller/Release.pm
Line 120 in d87b275
The text was updated successfully, but these errors were encountered: