e342a0f41e
- Instantiate an HTTPSConnection object when the URL scheme is 'https'. - Clarify and simplify the initialization of HTTPSocketRequest and HTTPDownloadRequest: + clarify initialization of their 'callback' attribute (it's the method of the same name; make it clear that the base class constructor, namely HTTPGetCallback.__init__(), doesn't modify the 'callback' attribute when an object of class HTTPSocketRequest or HTTPDownloadRequest is initialized); + HTTPDownloadRequest doesn't need access to the TerraSync object -> remove the corresponding instance attribute and constructor argument. - Don't use super() when initializing HTTPDownloadRequest objects (see [1]). [1] https://fuhm.net/super-harmful/ |
||
---|---|---|
.. | ||
terrasync | ||
tests | ||
terrasync.py |