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

httpstat returns 403, doesn't hide timings #161

Open
pieterhouwen opened this issue Aug 30, 2021 · 4 comments
Open

httpstat returns 403, doesn't hide timings #161

pieterhouwen opened this issue Aug 30, 2021 · 4 comments

Comments

@pieterhouwen
Copy link

I built the project by downloading the git and running "go build" instead of the supplied command because I got an error

can't load package: package github.com/davecheney/httpstat@latest: can only use path@version syntax with 'go get'

When I use the following command: ./httpstat -I -L https://pieterhouwen.info
I get the following output:

image

When I use curl on the same website it works fine.

What is the reason for this 403 and wasn't the -I parameter supposed to hide the timings?

@davecheney
Copy link
Owner

There may be a bug with flag handling, I’ll take a look.

Semi serious question, this tool gives you http timing information. If you want to hide the timing data, why use this tool?

@moorereason
Copy link
Contributor

It's your site restricting unknown user agents. Try: httpstat -H "User-Agent: curl/7.72.0" https://pieterhouwen.info

@pieterhouwen
Copy link
Author

pieterhouwen commented Aug 30, 2021

@davecheney I want to hide the timings because I just like the color output of httpstat and not really care about the timings.
@moorereason Thanks for the tip, seems to be the case. Closing this issue.

@davecheney
Copy link
Owner

ok, let me figure out what's wrong with the -I flag.

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

No branches or pull requests

3 participants