requests icon indicating copy to clipboard operation
requests copied to clipboard

Response History Feature Request

Open owenkealey opened this issue 5 years ago • 2 comments

Hi,

It would be nice if, like Python's requests library, the Response class had a property history that would be a list of all the requests the client made to get to that response i.e a log of the redirects that the client automatically made. On that note, a parameter like followRedirects added to the .get and .post methods would be helpful

owenkealey avatar Oct 23 '19 18:10 owenkealey

@owenkealey I like it! how about adding a PR with these additions?

jossef avatar Oct 23 '19 21:10 jossef

does the library automatically follow redirects already?

owenkealey avatar Oct 24 '19 01:10 owenkealey