-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when using the library #13
Comments
Hi Mat, This happened because your URI's status code is 301. Here are other options available: (see the list by typing: "memento-damage --help")
This is what I got when run memento-damage with your URI:
|
@erikaris Though this option is available, the command-line interface ought to fail more gracefully when encountering an HTTP 3XX. |
I am sorry, but I don't understand what you mean by 'fail more gracefully'? |
@erikaris The error messages on the command line when a user supplies a URI that is a redirect should not be shown. Instead, the application ought to recognize that a redirect has occurred and respond appropriately, e.g., reporting it in a message. To "fail gracefully" is to handle the errors. |
Do you mean the application should automatically follow the redirection? But I will modify the error message to let the user know to add -L, in case they want to follow redirection. |
When I use the URI http://matkelly.com , the interface does not update.
This is good but, as you plan, reporting that a redirection would be better if this flag is not set than reporting errors. |
Installed via pip. I am not sure how to proceed from here.
The text was updated successfully, but these errors were encountered: