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 have a problem with q-io/http as I'm sending new request within the requested resource but req.headers.host turns out to be 'localhost' within it instead of 'localhost|:3000'. The request does actually get sent to the correct URL, but the Express request object does not contain the correct headers when it ends up there.
For reference, the behavior does work as expected with require('request'). So I'm switching there for now, if I can not find a fix myself.
The text was updated successfully, but these errors were encountered:
Hey guys,
I have a problem with q-io/http as I'm sending new request within the requested resource but req.headers.host turns out to be 'localhost' within it instead of 'localhost|:3000'. The request does actually get sent to the correct URL, but the Express request object does not contain the correct headers when it ends up there.
For reference, the behavior does work as expected with require('request'). So I'm switching there for now, if I can not find a fix myself.
The text was updated successfully, but these errors were encountered: