We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to adjust handle_response logic to account for 502 responses. It appears Threat Stack sends back and HTML response for 502s.
Example: {'_content': b'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need to adjust handle_response logic to account for 502 responses. It appears Threat Stack sends back and HTML response for 502s.
Example:
{'_content': b'
502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n', '_content_consumed': True, '_next': None, 'status_code': 502, 'headers': {'Cache-Control': 'no-cache', 'Connection': 'close', 'Content-Type': 'text/html'}, 'raw': <urllib3.response.HTTPResponse object at 0x10e3c52e8>, 'url': 'https://app.threatstack.com/api/v1/alerts?count=100&page=3', 'encoding': 'ISO-8859-1', 'history': [], 'reason': 'Bad Gateway', 'cookies': <RequestsCookieJar[]>, 'elapsed': datetime.timedelta(0, 120, 144756), 'request': <PreparedRequest [GET]>, 'connection': <requests.adapters.HTTPAdapter object at 0x10e3c5c50>}The text was updated successfully, but these errors were encountered: