hatoo / hatoo/oha

Please tell me how to use proxy authentication?

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

Description

I want to use localhost proxy to access my remote service, but failed, remote service return 407 Proxy Authorization Required
I use follow cmd:
`oha -n 100 --burst-delay 2s --burst-rate 10 -a "admin:123432" -x http://127.0.0.1:38520 "https://api.test.example.com`

oha --debug
`Request {
method: GET,
uri: /geoip,
version: HTTP/1.1,
headers: {
"accept": "*/*",
"accept-encoding": "gzip, compress, deflate, br",
"user-agent": "oha/1.8.0",
"host": "api.ip.sb",
"authorization": "Basic YWRtaW46MTIzNDMy",
},
body: Full {
data: None,
},
}
Error: no upgrade available`

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.