-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: add basic error messages if the analyzed page send back a 401 or 403 HTTP status code #322
base: master
Are you sure you want to change the base?
Conversation
401: `{{- i18n "Error401" | markdownify -}}`, | ||
403: `{{- i18n "Error403" | markdownify -}}`, | ||
404: `{{- i18n "Error404" | markdownify -}}`, | ||
422: `{{- i18n "Error422" | markdownify -}}`, | ||
429: `{{- i18n "Error429" | markdownify -}}`, | ||
500: `{{- i18n "Error500" | markdownify -}}`, | ||
502: `{{- i18n "Error502" | markdownify -}}`, | ||
504: `{{- i18n "Error504" | markdownify -}}`, | ||
520: `{{- i18n "Error520" | markdownify -}}`, | ||
521: `{{- i18n "Error521" | markdownify -}}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, the API will not respond with a 401 or 403 status...
The tricky thing is that it will respond with a 521 code and this 521 code refers to the error code of the analyzed page 🤔
So the thing that would be perfect if to read the "referent" status code when a 521 occurs...
800bd00
to
8336b61
Compare
8336b61
to
7cef654
Compare
Cette pull request a été marquée comme inactive car elle n'a pas eu de mise à jour depuis 30 jours. Si elle n'est pas mise à jour d'ici 7 jours, elle sera fermée automatiquement. Pour éviter qu'elle soit fermée, vous pouvez ajouter le label |
Closes #301