Skip to content

Use 'requests' instead of urllib/urllib2 #71

Closed

Description

@keflavich

As discussed in #70, requests provides a more uniform, nice, and reliable interface for the modern interwebs. One goal when refactoring should be to use requests in place of the built-ins.

As @astrofrog notes, though, we will continue to use get_readable_fileobj because of its caching and progressbar capabilities.

TODO: adapt these packages that currently import urllib and /or urllib2:

  • besancon
  • fermi
  • irsa
  • irsadust
  • magpis
  • ned
  • nist
  • nrao
  • simbad
  • splatalogue
  • ukidss
  • utils

Activity

  1. added a commit that references this issue on Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions