Answer the question
In order to leave comments, you need to log in
How to parse HTTP Requests/Responses at the byte level?
Can you share your experience on how to parse the byte array coming from the browser.
Right now I'm splitting the data into start line, headers and body by looking for the character "\n" .
In the same way, I separate the start line into a method, uri, HTTP version.
The code is very large.
I will be grateful for any help.
Answer the question
In order to leave comments, you need to log in
I immediately wanted to offer Netty as a solution, but you are parsing information from the browser. Can you please clarify what you mean by chrome extension?
Thank you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question