Skip to content

httpstat returns 403, doesn't hide timings #161

Open

Description

@pieterhouwen

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?

Activity

  1. davecheney commented on Aug 30, 2021

    @davecheney
    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?

  2. moorereason commented on Aug 30, 2021

    @moorereason
    Contributor

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

  3. pieterhouwen commented on Aug 30, 2021

    @pieterhouwen
    Author

    @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.

  4. davecheney commented on Aug 30, 2021

    @davecheney
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions