hello guys i'm creating simple personal web server i've using TcpListener and TcpStream;
so please tell me how to seperate the json body from request? without using any external crates?
If you want to parse protocol, always start from the spec. As you can see in section 4.1, each header fields are separated by CRLF(\r\n) token, and the header itself is separated with the body by another CRLF, an empty line.