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
The host is mandatory according to the RFC.
There's an option to automatically set the Host header when you parse a request if the header is missing, but in that case the host must appear in the start-line, e.g. GET https://myhost.com/storage otherwise there's no way at all to know where to send the request to.
I am trying to convert a string to a http request using this library which has no host.
String - >
The current code mandates the presence of host value which I dont have nor do I want.
Could this be made optional using some configuration ?
The text was updated successfully, but these errors were encountered: