95fa7fb5da
Add an allowRetry parameter to DoWithAuth(). This parameter is a boolean, and allows any requests without an authentication header to be retried if an authorization error was returned. This change is required to get things working with the basic upload adapter. Since it passes along a file reader in the request body, and since that reader is read by the HTTP Client in a copy operation to construct a new request, an upload request body can't be re-used in a new request. |
||
---|---|---|
.. | ||
auth_test.go | ||
auth.go | ||
body.go | ||
client.go | ||
endpoint_finder_test.go | ||
endpoint_finder.go | ||
lfsapi_nix.go | ||
lfsapi_windows.go | ||
lfsapi.go | ||
netrc_test.go | ||
netrc.go | ||
ntlm_auth_nix.go | ||
ntlm_auth_test_nix.go | ||
ntlm_auth_windows.go | ||
ntlm_test.go | ||
ntlm.go | ||
response_test.go |