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
Please let me know if you have any questions or concerns. Otherwise I will commit the change in a few weeks.
As a side note, a similar logic where default port numbers are being derived from the scheme exists in several other areas. I will put together a follow-up patch to abstract out the logic.
The text was updated successfully, but these errors were encountered:
According to RFC 2616, Section 14.23:
and also
HTTP requests generated by
http.lua
never include port information in theHost
header, which is causing these requests to fail with some servers.I am proposing to rectify the issue by making the function more compliant with the RFC as follows:
Please let me know if you have any questions or concerns. Otherwise I will commit the change in a few weeks.
As a side note, a similar logic where default port numbers are being derived from the scheme exists in several other areas. I will put together a follow-up patch to abstract out the logic.
The text was updated successfully, but these errors were encountered: