immuni-app/immuni-backend-common

[BUG] Application status response mismatch.

Closed this issue · 0 comments

Describe the bug

Using root path for getting status does not return a json response

To Reproduce

  1. curl -i http://localhost:5000/ -H 'accept: application/json'

Expected behaviour

< HTTP/1.1 200 OK
< content-type: application/json

{...json payload..}

** Instead**
Text plain is returned, with no payload

< HTTP/1.1 200 OK
< date: Wed, 10 Jun 2020 12:39:08 GMT
< server: uvicorn
< content-length: 0
< content-type: text/plain

Additional context