I'm learning socket programming and I can't understand where the endianness principle is applied. I'm making a simple web server that communicates via HTTP/1.1. I found that generally no need to worry about endian issues in HTTP/1.1. But in HTTP/2 I must worry since it uses binary elements.
In case of HTTP2, should I check the type of client I'm communicating with? In order to send the data with the good endian type?
Let me know if the question is not clear.
Many thanks.