Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Fixed Freeze on 401 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixed Freeze on 401 #4

wants to merge 1 commit into from

Conversation

Th3R3p0
Copy link

@Th3R3p0 Th3R3p0 commented Oct 9, 2015

If you encounter a web server requesting basic auth credentials (401 HTTP Response), the script will freeze and require the user to force the script to quit. This new addition to the code requests the page first, detects if the response is a 401 and will return a message to the user if it encounters an authorization request.

Cost: two HTTP requests are made instead of only one.

Tested on HTTP and HTTPS against an apache basic auth.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant