Restore rest integration ability to follow http redirects (#61293)

This commit is contained in:
J. Nick Koston 2021-12-08 11:03:07 -10:00 committed by GitHub
parent d2216363c5
commit aca2c3a27a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,7 @@ class RestData:
auth=self._auth, auth=self._auth,
data=self._request_data, data=self._request_data,
timeout=self._timeout, timeout=self._timeout,
follow_redirects=True,
) )
self.data = response.text self.data = response.text
self.headers = response.headers self.headers = response.headers