Answer the question
In order to leave comments, you need to log in
How to add one byte for alignment in http headers?
How to add one byte? Of course, it would be possible to add a space to the space in some header line, for example, "Content-Type: text/html\r\n". It seems to me that this is not entirely correct. Are there any common browser tricks? Or special characters according to rfc?
Answer the question
In order to leave comments, you need to log in
HTTP is a text protocol. No extra bytes for alignment are needed.
If you want to align in RAM, then just add the required amount of \0 to the end of the body
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question