redbot
redbot copied to clipboard
handle 1xx messages properly
Example: https://redbot.org/?uri=https%3A%2F%2Fnghttp2.org%2F%3F103-eh
Seems redbot is taking the 103 as final responses and waits the socket to be closed as there is no Content-Length information.
Have it working, roughed in like this:
Open questions:
- [x] Get it into HAR, TXT output
- [ ] Make sure Notes are going to the right destination
- [ ] options line (e.g., response header size) after each? Or aggregate?
- [ ] separate notes out for each response?
- [ ] see what body on 1xx looks like.
Looks good.
How would you have a body on 1xx, though?
I want to make sure it calls this out as an error in a good way.
Ack.