finos / JCurl

JSON-aware curl (1) in Java
Apache License 2.0
27 stars 24 forks source link

Add support for proxy authentication #32

Open jamespo opened 5 years ago

jamespo commented 5 years ago

-x http://user:pass@proxy/ doesn't seem to be supported - any other way of doing it?

openfly commented 5 years ago

Try using env variables http_proxy and https_proxy.

On Tue, Oct 29, 2019, 6:41 AM J.P notifications@github.com wrote:

-x http://user:pass@proxy/ doesn't seem to be supported - any other way of doing it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/symphonyoss/JCurl/issues/32?email_source=notifications&email_token=AAE5VTMY7XIEMJ6AU35VE2TQRA4QPA5CNFSM4JGIXNRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HVB4F2Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5VTIZWS6W7TVVLEX4IETQRA4QPANCNFSM4JGIXNRA .

jamespo commented 5 years ago

They don't help unfortunately.

But I manually added the Proxy-Authorization header and that works.

ldrozdz commented 5 years ago

@jamespo Good catch. I'll reopen and add this to a to-do list.