Skip to content
New issue

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

Added 3xx and a few other statuses support & updated output #4

Merged
merged 2 commits into from Oct 2, 2020

Conversation

MSTEWARDSON
Copy link

Alright so GO has redirect support by default so the request and response set up hasn't changed. What I did change though was adding more common status codes to the list then you had before and labeling them with the error types. Small update to readme by adding 3xx status codes are displayed in "yellow". Added a test url to url2.txt for testing the status code of 300. One thing to note is you currently have the timeout setting to 5 seconds, redirects typically get hanged up for more then that, so if you wanted to display most redirects you would have to increase this timer.

@yzwdroid yzwdroid linked an issue Oct 2, 2020 that may be closed by this pull request
@yzwdroid yzwdroid merged commit db81a33 into yzwdroid:master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue: Adding support for 300 series of status codes
2 participants