ntt / eveapi

Python library for accessing the EVE Online API
Other
148 stars 57 forks source link

Corrected handling of HTTP 403s #18

Closed zweizeichen closed 11 years ago

zweizeichen commented 11 years ago

CCP updated their API to use HTTP status codes to reflect an authentication failure. This caused eveapi to falsely raise an ServerError in case authentication failed because the server no longer returns this error code via XML.

This small update intercepts 403s and raises the expected AuthenticationError.

zweizeichen commented 11 years ago

This should fix errors related to #17