gotcha
gotcha copied to clipboard
3xx Response Body is being dropped
(Note: this is conjecture, in need of steps to reproduce)
It appears that when gotcha is returning redirects to the front-end (vs. following them itself), it drops the response body. This caused a bit of confusing when we were using gotcha to introspect an API that was including object JSON in its 302 responses.
Figure out how to reproduce, verify, and fix.
Turns out the code we were exercising was following redirects, and we were seeing the body of the redirect destination. See if we can build a small API that does a 30x with a payload, and see what it looks like for Gotcha.