HumanDynamics / openPDS-RegistryServer

openpds.media.mit.edu
MIT License
11 stars 15 forks source link

replace httplib code in is_pds_up with requests #23

Closed bradmontgomery closed 9 years ago

bradmontgomery commented 10 years ago

The requirements.txt file includes requests, so that should be available for anyone using the project.

This PR replaces the httplib code here with requests. This simplifies the code and has the added benefit that requests will follow 301 redirects; e.g. if the data store's url is at /discover/ping and redirects to /discovery/ping/

RogerTangos commented 9 years ago

Hi @bradmontgomery - I'm so sorry for missing this. I'd been looking at a different section of my github notifications. If you keep committing, will you please submit pull requests to the dev branch? My apologies, again.