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
I've investigated it now using your code and running micro with: DEBUG=* micro which yields the following when doing a request:
micro: Accepting connections on port 3000
compression undefined not compressible +0ms
compression no compression: filtered +0ms
And when looking into micro's code, specifically the send function, you can see that the Content-Type header is not set for strings. By changing the body to an object the problem is solved.
This is my test index.js:
The text was updated successfully, but these errors were encountered: