parser.parse("HTTP/1.1 200 OK\r\n")
Parslet::ParseFailed: Failed to match sequence (RESPONSE_LINE CRLF headers:(HEADER{0, }) CRLF data:DATA) at line 1 char 16.
I'd like to be able to feed bytes to the parser and get the parameters as they're being discovered, Eventually changing the root as I receive them.
Thanks for using parslet. Unfortunately this is not a help forum, but rather the projects issue tracker. I would suggest you ask on Stackoverflow to get support.
First, congrats for your gem. Very useful!
I'm writing an HTTP/1 response parser with it. It works, but only when I send the full payload.
I have smth like this:
But if I pass an incomplete payload, I get:
I'd like to be able to feed bytes to the parser and get the parameters as they're being discovered, Eventually changing the root as I receive them.