internetarchive / liveweb

Liveweb proxy of the Wayback Machine project
https://web.archive.org/
44 stars 13 forks source link

Handle proxy errors #9

Closed anandology closed 12 years ago

anandology commented 12 years ago

Liveweb-proxy crashes when called with a badly formatted URL. Make sure it gives a nice HTTP response code indicating that the URL is bad.

This should also be the case when there's a n/w failure or some error from the remote site.

anandology commented 12 years ago

Added http status codes for the errors that we raise internally. Need to make sure these status codes match with that of liveweb 1.0.

anandology commented 12 years ago

Verified that the responses are matching with liveweb 1.0.