Month: October 2017

Jumbled Headers

Leave a comment

Have you ever noticed misspelled HTTP response headers? $ http -h HTTP/1.1 200 OK Connection: close Content-Encoding: gzip Content-Language: en Content-Length: 9907 Content-Type: text/html;charset=UTF-8 Cteonnt-Length: 33416 Date: Tue, 12 Apr 2016 12:26:06 GMT Server: Apache That ‘Cteonnt-Length’ sure looks weird! According to this StackOverflow answer, the jumbled header contains the uncompressed size of the response and, sure enough, it does seem to be the case. But why? It seems like this is a trick […]