Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28982, comment 4


Ignore:
Timestamp:
07/24/2014 01:20:22 PM (11 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28982, comment 4

    initial v1  
    11This is correct, The port must be included in the Host header, unless it's the default for the protocol, in which case it's optional. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23 describes that for HTTP/1.1, which is almost the same as 1.0.
    22
    3 Although we should be able to send the default port in 100% of cases, We should probably only send it when it's optional to avoid any unexpected servers.
     3Although we should be able to send the default port in 100% of cases, We should probably only send it when it's not optional to avoid any unexpected servers.
    44
    55The logic needed would be: