mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-26 15:46:31 +00:00
commons-httpclient, don't try to handle 401s internally
This commit is contained in:
@@ -945,6 +945,9 @@ public class FetchHTTP extends AbstractFetchHTTP implements Lifecycle {
|
||||
*/
|
||||
protected HostConfiguration configureMethod(CrawlURI curi,
|
||||
HttpMethod method) {
|
||||
// Don't try to handle 401s internally.
|
||||
method.setDoAuthentication(false);
|
||||
|
||||
// Don't auto-follow redirects
|
||||
method.setFollowRedirects(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user