Skip to content

Doesn't work behind proxy in corporate Windows network (NTLM) #159

Open

Description

@hickford

HTTPie doesn't work in my office because our computers are behind an proxy. It still doesn't work even after specifying the --proxy argument, because the proxy is superevil. It uses a proprietary technology called NTLM that breaks most free software (Ruby and Nodejs as well as Python).

Here's a related issue—NTLM authentication for direct (unproxied requests) #76

This library will probably be useful in any fix https://github.com/requests/requests-ntlm

Activity

  1. hickford commented on Sep 21, 2013

    @hickford
    ContributorAuthor

    Plan is to fix this double-upstream in urllib3 urllib3/urllib3#242

  2. jkbrzt commented on Mar 25, 2015

    @jkbrzt
    Member

    There is now an HTTPie plugin for NTLM auth: httpie-ntlm

  3. hickford commented on Mar 26, 2015

    @hickford
    ContributorAuthor

    Sorry that wasn't clear, there are two NTLM auth protocols, one for websites, one for proxies. They use different HTTP headers www-authenticate and proxy-authenticate. See http://davenport.sourceforge.net/ntlm.html#ntlmHttpAuthentication

    That plugin is based on requests-ntlm so I think it can only do www-authenticate not proxies.

    Upstream issues required for NTLM proxy auth in httpie are probably:

    1. Allow custom authentication (in particular NTLM) to proxies urllib3/urllib3#242
    2. https://github.com/kennethreitz/requests/issues/1582
  4. reopened this on Mar 26, 2015
  5. Almad commented on Feb 10, 2021

    @Almad

    Still blocked by upstream / urllib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by upstreamThe issue is in a dependency. We are waiting for the upstream library to lay the groundwork.enhancementNew feature or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions