Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Private API should assert req.Content-Type is application/json for relevant requests #168

Open
0xCLARITY opened this issue Mar 27, 2020 · 0 comments

Comments

@0xCLARITY
Copy link
Collaborator

0xCLARITY commented Mar 27, 2020

Since we expose a JSON API in the private API, we should assert that the request Content-Type is correctly set. This is part of #130 .

If we don't have this, then we may need to throw a 415 (double check).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant