You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
I noticed a difference between 404 of wrong path of a good module and a bad module.
Bad path of a good module gives HTTP 404 Not Found response and a short body but no Content-Type header:
$ curl https://deno.land/x/dirname/wrong-file.ts
404: Not Found
But when there is a mistake in the module name, the status is 500 Internal Server Error with Content-Type: text/html; charset=UTF-8 and a lot of HTML, even when requested by curl:
I noticed a difference between 404 of wrong path of a good module and a bad module.
Bad path of a good module gives HTTP
404 Not Found
response and a short body but no Content-Type header:But when there is a mistake in the module name, the status is
500 Internal Server Error
withContent-Type: text/html; charset=UTF-8
and a lot of HTML, even when requested bycurl
:The text was updated successfully, but these errors were encountered: