Crystal: Feature Request: NTLM support for HTTP::Client

Created on 14 Sep 2017  路  5Comments  路  Source: crystal-lang/crystal

Right now HTTP::Client supports basic authentication, addition for NTLM (maybe even Kerberos?) could be really helpful to those working against Microsoft based products.

Most helpful comment

I think it could be done in a shard first, and if it's really necessary for a lot of people, add it to the stdlib

All 5 comments

I think it could be done in a shard first, and if it's really necessary for a lot of people, add it to the stdlib

@bew I really think that is we have basic_auth we should have NTLM support too, Ruby has it (I know it's not a good reason) and we can take most of the implementation details from there

Basic auth is a lot simpler than these other auth types and way more common. I doubt this will ever be in the stdlib.

@bararchy Are you sure Ruby has it built-in? I can only find gems about it.

My bad, I though Net::NTLM was in STD, apparently it was a gem.

http://www.rubydoc.info/gems/rubyntlm/0.5.0/Net/NTLM

So, I guess same logic should be in Crystal, I'll close the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asterite picture asterite  路  60Comments

stugol picture stugol  路  70Comments

HCLarsen picture HCLarsen  路  162Comments

chocolateboy picture chocolateboy  路  87Comments

sergey-kucher picture sergey-kucher  路  66Comments