You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2024. It is now read-only.
For my usecase, I ended up having to "manually" decode the JSON payload, since the invalid Content-Type prevents me from using aiohttp's .json() method:
@tobiasfriden Thanks for the pointer, but I'm not really looking for another workaround - my current one works. What I'd like is for the webservice to return the correct Content-Type so that no workaround is needed!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Browsers and versions affected
All browsers.
Description
The POST to /join/ returns a JSON message, but the response headers indicate it is an HTML document.
Steps to reproduce
Open the browser's network inspector and join any room.
Expected results
The HTTP headers should contain:
Content-Type: application/json
Actual results
The HTTP headers contain:
Content-Type: text/html; charset=utf-8
The text was updated successfully, but these errors were encountered: