According to section 14.23 of RFC2616, an HTTP Host header without port implies the default port is used. Thus, when fetching from anywhere but port 80 for HTTP or 443 for HTTPS, the port ought to be explicitly given in that header. Otherwise, some servers might fail to associate the request with the correct virtual host or generate incorrect self-referencing URLs. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
662 |
|
662 |
|
663 |
|
663 |
|
664 |
|
664 |
|
665 |
|
|
|
|
665 |
|
|
666 |
|
666 |
|
667 |
|
667 |
|
668 |
|
668 |
|
669 |
|
669 |
|
670 |
|
670 |
|
671 |
|
671 |
|
|
672 |
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
672 |
|
676 |
|
673 |
|
677 |
|
674 |
|
678 |
|