kshitij10496 / hercules

The mighty hero helping you build projects on top of IIT Kharagpur's academic data
https://hercules-10496.herokuapp.com/api/v1/static/index.html
MIT License
34 stars 18 forks source link

Set Content-Type Response Header #29

Closed kshitij10496 closed 5 years ago

kshitij10496 commented 5 years ago

At the moment, all the responses from the API v1 have their Content-Type set as text/plain by default.

Task: Explicitly set the Content-Type header in successful HTTP responses to application/json.