Revision 4aabd8f2
- Added transparent reconnect and retry on connecton errors and socket errors. This adds automatic reconnect and retry to the entire Python DataONE stack. Only the idempotent HTTP verbs are automatically retried. Number of automatic tries can be set with a new parameter and defaults to 3. Setting the value to 1 disables retries.
- Added new methods, makeCNBaseURL() and makeMNBaseURL(). Given a URL with missing sections, like a URL that is only a server name, replace the missing sections with defaults to make a BaseURL.
- Added tests for the new methods.
- Reverted setup.py to the old find_packages() method.
- Minor version increased by one because the automatic reconnect and retry is an important fundamental change.
- Changed default MN host from the KNB to localhost.
Files
- added
- modified
- copied
- renamed
- deleted