requests
requests copied to clipboard
Document that a Response is a context manager
trafficstars
This is mentioned in the Advanced Usage page, but not in the API reference. It is mentioned in the API reference for Session, so it seems reasonable that it should be mentioned for Response as well. It looks like this capability was added in GH-4137, which made the change to the former documentation but not the latter.