Closed stijn-at-work closed 2 years ago
httpx -x host:port
is ok for you?
Yes, such a parameter would be great!
Op 9 apr. 2022 04:29 schreef Libing Chen @.***>:
httpx --proxy [protocol://]host[:port] is ok for you?
— Reply to this email directly, view it on GitHubhttps://github.com/servicex-sh/httpx/issues/2#issuecomment-1093601717, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIPZLA7TKPKXXLAZ2FJFJOLVEDTRHANCNFSM5SSCCYSA. You are receiving this because you authored the thread.Message ID: @.***>
Please try new 0.25.0 version. Let me know if it does not work.
Is there a reason the program doesn't respect the http_proxy / https_proxy environment variables?
Yes, it's some hard. JetBrains uses https://github.com/JetBrains/intellij-deps-proxy-vole to detect the platform network proxy settings.
respect the http_proxy / https_proxy environment variables
you means export HTTP_PROXY=http://SERVER:PORT/
?
Yes, it's some hard. JetBrains uses https://github.com/JetBrains/intellij-deps-proxy-vole to detect the platform network proxy settings.
respect the http_proxy / https_proxy environment variables
you means
export HTTP_PROXY=http://SERVER:PORT/
?
Yes.
@sbartram You can use shebang for http file with proxy setting to make life easy.
#!/usr/bin/env httpx -x 192.168.1.1:3128 --httpfile
### get my internet ip
# @name myip
GET https://httpbin.org/ip
To make http file executable by chmod u+x demo.http
, then execute ./demo.http myip
Yeah, there are a couple of ways to workaround the issue. I just thought it would be a good feature to add so workarounds aren't required.
Thanks
Implemented on 0.29.0 https://github.com/servicex-sh/httpx/releases/tag/v0.29.0
Hi!
i try to run auth.http from the command line: httpx --httpfile auth.http
An exception is thrown (see below).
There is nothing wrong with the request. When i use Postman to POST https://lvapitest.localhost.wip/api/oauth/v2/token, i get a valid response with status code 200.
I think the problem is our proxy. We have set the proxy configuration at the system level (MacOs Big Sur) to:
Is it possible to add the proxy configuration to the command line arguments?
Regards, Stijn
auth.http
Exception