Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Surprising things about HTTP.
GET website/path HTTP/1.1 Host: website2
Some servers, like NGINX, will key on the request line domain (website) to find the logical server block rather than the host header (website2).
This can lead to interesting outcomes
There are no comments on this comment yet.
GET website/path HTTP/1.1 Host: website2
Some servers, like NGINX, will key on the request line domain (website) to find the logical server block rather than the host header (website2).
This can lead to interesting outcomes