Replies: 1 comment
-
See alexcrichton/curl-rust#359 for more info on why NLTM doesn't work with statically linked curl. Ideally it would be fixed upstream there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've made a small patch to the src/auth.rs (in my local copy of the isahc) that enables the NTLM support through the CURL library. It works only with dynamically linked CURL, as statically linked CURL for some reason disables the NTLM support. The code at the client side looks as follows:
To enable the dynamically linked CURL, you have to use custom features (avoiding a default static CURL).
In Cargo.toml:
isahc = {version="1.4.0", default-features=false, features = ["psl", "spnego", "text-decoding"]}
Please let me know if you find it useful, and I will submit the patch.
Beta Was this translation helpful? Give feedback.
All reactions