Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facts and features #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

RNanney
Copy link

@RNanney RNanney commented Sep 28, 2015

No description provided.

@RNanney
Copy link
Author

RNanney commented Sep 30, 2015

I was experimenting with the way the http connection is done. This uses urllib2 built in for 401 auth, and allows the cookie to be sent in subsequent requests.

https://gist.github.com/RNanney/60ecc1a82d03106b256e

The reason this came about is to try and account for intermittent connectivity to tacacs servers. The way it is currently if a 401 is returned the host will drop out. With the built in method it will be retried 5 times before failing.

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

Successfully merging this pull request may close these issues.

None yet

1 participant