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
We might need to break the method into two... encoding is really used to turn strings into buffers for sending data on the wire. But we also use it to set the character set header. That's probably wrong.
Reading the docs here : https://github.com/spumko/hapi/blob/master/docs/Reference.md#generic I was thrown initially by the terminology used where encoding refers to the charset. Would it perhaps be more intuitive to use charset() instead of encoding()? I would expect encoding to refer to whether it's gzipped - see charset and encoding sections here : http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
The text was updated successfully, but these errors were encountered: