-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http/httptest: add support for 1XX responses #56151
base: master
Are you sure you want to change the base?
Conversation
This PR (HEAD: e53ae3b) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/442215 to see it. Tip: You can toggle comments from me using the |
Message from Damien Neil: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/442215. |
The existing implementation doesn't allow tracing 1xx responses. This patch allows using net/http/httptrace to inspect 1XX responses. Updates golang#26089.
e53ae3b
to
6eb176a
Compare
This PR (HEAD: 6eb176a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/442215 to see it. Tip: You can toggle comments from me using the |
Message from Kévin Dunglas: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/442215. |
6eb176a
to
f6e891e
Compare
This PR (HEAD: f6e891e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/442215 to see it. Tip: You can toggle comments from me using the |
Message from Damien Neil: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/442215. |
The existing implementation doesn't allow tracing
1xx responses.
This patch allows using net/http/httptrace to inspect 1XX responses.
Closes #56346.
Updates #26089.