redbot icon indicating copy to clipboard operation
redbot copied to clipboard

handle 1xx messages properly

Open reschke opened this issue 8 years ago • 5 comments

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.

reschke avatar Nov 16 '16 00:11 reschke

Have it working, roughed in like this:

screen shot 2016-11-16 at 1 02 28 pm

mnot avatar Nov 16 '16 04:11 mnot

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.

mnot avatar Nov 16 '16 04:11 mnot

Looks good.

How would you have a body on 1xx, though?

reschke avatar Nov 16 '16 04:11 reschke

I want to make sure it calls this out as an error in a good way.

mnot avatar Nov 16 '16 05:11 mnot

Ack.

reschke avatar Nov 16 '16 05:11 reschke