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

More error handling/retrying logic #19

Closed
wants to merge 3 commits into from

Conversation

tobek
Copy link

@tobek tobek commented Jul 3, 2014

No description provided.

Toby Fox added 3 commits July 2, 2014 19:52
Filed an issue in `request` module about this:
request/request#954

For some URLs (e.g. http://cnb.cx/1vtyQyv), `request` throws this error
on a HEAD request but not a GET request.
Looks like this chunk of code has been copied into the bitly function.
It’s no longer reachable: if (map['bitly'].active) and the host is in
the bitly map, the preceding for-loop would catch it. In addition, the
bitly function handles the absence of options[‘bitly’] correctly anyway
so no need to check for it.
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