Hacker News new | ask | show | jobs
by 3xblah 2256 days ago
http://web.archive.org/web/20200413161736/https://www.latime...

One can also get LA Times stories via Reuters, thanks to shared TLS hosting:

   printf "<base href=https://www.latimes.com />" > 1.html

   printf "GET /california/story/2020-04-13/yosemite-national-park-closed-wildlife-waterfalls-muir HTTP/1.1\r\nHost: www.latimes.com\r\nConnection: close\r\n" | openssl s_client -connect www.reuters.com:443 -servername www.latimes.com -ign_eof >> 1.html

   firefox ./1.html
1 comments

Correction:

In the example, there should be an additonal \r\n after "Connection: close".