I am currently using a C++ library to parse http messages from github: http-parser. However I want to make sure that it will also work with http/2.
I have started to read the rfc for http/2 but I am not really sure where to start. From what I have read so far, there are no major differences parsing-wise for http/2, but I am not sure how to proceed further.
For example there is a section that describes server-push that is new to http/2. So, I'd have a manually check if the header contains PUSH_PROMISE. However, I am not sure this path would be healthy(manually treating the differences) and it would be nice if the library would treat these special cases for me.
Any advice on how to proceed?