Open mozfreddyb opened 5 years ago
thanks for the bytes saved! what browsers did you test out of curiosity?
Ugh, I tested locally but without deflate. simple html content works though. :confused:
Alternatively, one could save a few bytes by removing all sorts of HTTP headers and going for HTTP/0.9 support (which surprisingly, chrome and firefox still have), but that also wouldn't allow deflate afaict.
Unfortunately, I couldnt get the test server in utils/ to give me a response that's similar enough to the .c server. Maybe I should have just tested with the c server directly :blush:
According to some quick testing, most browsers won't need these, so that would save you a few bytes. Question is how many browsers you aim to support though and what's more important to you (bytes / browsers), so this wasn't really clear to me up front