Skip to content

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.

1 participant