Jon Hoffman
Jon Hoffman
I think you might need to set a global Authenticator to handle this. See this answer: http://stackoverflow.com/a/16340273 It's a bit gross to have to set a global like this, but...
I haven't tested myself, but scalaj uses the HTTPURLConnection under the covers, so I was thinking that would work. If you add some printlns to the Authenticator, is it at...
No, it's not really doing any crazy tricks. The source is pretty straightforward: https://github.com/scalaj/scalaj-http/blob/master/src/main/scala/scalaj/http/Http.scala Unfortunately, I won't have a chance to look into this in more detail until next week....
No, I wouldn't think it would matter. Building the HttpRequest doesn't actually do anything, it just stores some state in a POJO. If you reverse things now do you still...
Closing. plz re-open if there is still an issue.
Does the equivalent curl command work for you? I don't have access to an authenticated proxy to test myself `curl -v -U user:password -x buffalo.wonderproxy.com:10000 --url http://httpbin.org/`
Also, going back the originally reported problem, I don't see the `Proxy-Authorization` header being stripped off the request on my systems OSX Java 1.8.0_92 and on Linux Java 1.7.0_79 I...
What OS and Java version are you using?
Hi, can you try cloning the source and running `./sbt test` ? I added some unit tests to verify that the `Proxy-Authorization` was being passed through correctly.
Sorry, a recent test code change I made was causing this failure on certain systems. I reverted that change. Could you pull the latest and try again?