- Add method assembleUrl() to HTTPGetter. - Raise a NetworkError exception with the particular URL and number of retries when it has been exhausted. - Number of retries is now trivial to expose as a parameter, and set to 5 in HTTPGetter. - Sleep for one second between self.httpConnection.close() and self.httpConnection.connect() when retrying a failed HTTP request. - Apply DRY principle. |
||
---|---|---|
.. | ||
demo.py | ||
FGFSDemo.py | ||
FlightGear.py | ||
nasal_api_doc.py | ||
terrasync.py |