RazorSh4rk / random-word-api

Simple scala rest api that serves random words
https://random-word-api.herokuapp.com/
Other
134 stars 47 forks source link

Add Content-Length field to response header #32

Closed dogue closed 1 year ago

dogue commented 1 year ago

The absence of a Content-Length field in the response header can cause some more strict libraries to fail to parse the response body.

See this issue where I encountered this problem in Odin. I have no experience with Scala or else I'd submit a PR instead.

dogue commented 1 year ago

Closing as the author of the library will be updating the lib. https://github.com/laytan/odin-http/issues/13#issuecomment-1715277373