-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
response.headers['Content-Type'] ="text/html;" return Content-Type: text/plain #4
Comments
@pete I'm also having this issue... any thoughts? I'm guessing, based on a pattern of code like this that I would have to patch Watts to send the right header. |
This works, but it's a suboptimal interface IMO
|
Solution can be found in PR 5 |
@mustmodify I made a note in PR #5, but so it's here as well, I think it'd be reasonable to do something like an instance method that provides a default |
curl http://localhost:9292/
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 14
The text was updated successfully, but these errors were encountered: