jdost / restler

Python library to help integrate with RESTful web APIs
Other
0 stars 1 forks source link

URL handling when constructed with non base URL #2

Closed jdost closed 11 years ago

jdost commented 11 years ago

This is like if you construct with http://myapp.com/app/ and then get back /app/test/ as a response data value, it will actually end up mapping to http://myapp.com/app/app/test/ due to the fact that the subfolder doesn't get recognized initially. Probably look into using urlparse to get better information on the passed in base URL.

jdost commented 11 years ago

Fixed in the dev branch