openlabs / magento

Python API for Magento
Other
136 stars 82 forks source link

Allow xmlrpclib.Transport subclass to be passed on initialization #20

Closed theladyjaye closed 10 years ago

theladyjaye commented 10 years ago

Enable optional Transport for ServerProxy (xmlrpc based requests).

Enables the ability to set custom headers for requests, for example, X-Forwarded-For or User-Agent, which can be required for Magento's Session Validation.

See: Mage_Core_Model_Session_Abstract_Varien::getValidatorData

sharoonthomas commented 10 years ago

Thank you for the patch. Will release version 0.5 soon which would include these changes