hatoo / hatoo/oha

Headers not working

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
10.5k
Forks
298
Avg merge
4h 20m
Merged PRs (30d)
5

Description

This command should not result in this error, as I also tried without the header and the URL is correctly parsed, only when adding the header the command does not work anymore.

```shell
> oha -H "foo: bar" http://localhost:8080/
error: The following required arguments were not provided:

USAGE:
oha [FLAGS] [OPTIONS]
```

And the headers `-H` resides in the `OPTIONS` section, so this should be fine.
`-H "foo: bar"` was taken from the example in the help.

oha version 0.4.7

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.