Make it possible to disable parsing with a flag e.g. .req.PARSE (similar to .req.VERBOSE flag).
Also .req.SIGNAL for controlling signalling if HTTP error response received.
Possibly also allow defining a "custom parse" function that receives headers & body and can do whatever necessary.
Also, for .req.VERBOSE allow defining as an int i.e. a handle to write to, so it's possible to configure this to write to stderr instead of stdout etc. - ensure backwards compatibility, cast booleans to int
Make it possible to disable parsing with a flag e.g.
.req.PARSE
(similar to.req.VERBOSE
flag).Also
.req.SIGNAL
for controlling signalling if HTTP error response received.Possibly also allow defining a "custom parse" function that receives headers & body and can do whatever necessary.
Also, for
.req.VERBOSE
allow defining as an int i.e. a handle to write to, so it's possible to configure this to write to stderr instead of stdout etc. - ensure backwards compatibility, cast booleans to int