This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Users of your module possibly never need interfaces in this namespace. But you will. */ | |
export namespace Configuration { | |
/** Configuration defaults -> all of these keys are optional for users of your module. */ | |
export interface Defaults { | |
/** If set to true, my module will always fail. Default = false */ | |
alwaysFail: boolean; | |
} | |
/** Required configuration options, no defaults are used here */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A monkey patch concerning this issue: https://github.com/savonrb/httpi/issues/139 | |
# Basically, this monkey patch priors NTLM over Negotiate and not vice-versa | |
# All monkey patched spots are marked with "## MONKEY PATCHED" | |
# All in all, there are 2 monkey patched spots, both in private method "negotiate_ntlm_auth" | |
# Compare it with: https://github.com/savonrb/httpi/blob/d6a3825a8e896f794e54b634c39521e6956f72ff/lib/httpi/adapter/net_http.rb | |
require "uri" | |
require "httpi/adapter/base" | |
require "httpi/response" |