[HTTP Server 1] Having trouble with Content-Length header
Have you by any chance had problems with the header Content-Length?
I keep getting mismatch errors in the Chrome developer console. There seems to be a difference between the Content-Length which I send (calculated with Python's len()) and the actual length received by the browser.
I suspect that it has something to do with how newlines characters are counted.
Any help would be appreciated! :)
I had to add another \r\n before the content.
Just as they remind us in the instructions file! :)