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
I wonder if there is a case where this fallback works effectively.
hono's app and external APIs almost never return a response without Content-Type, and if Content-Type is not found, it is most likely that "some error has occurred". I think it is better to make it an error as the default behavior.
The text was updated successfully, but these errors were encountered:
What is the feature you are proposing?
Currently, if Content-Type is not found, it is processed as text/plain, resulting in a .txt file name.
https://github.com/usualoma/hono/blob/dcb740176f8e4e26783bac05ba5bd6ea7ef4e09d/src/helper/ssg/index.ts#L164
I wonder if there is a case where this fallback works effectively.
hono's app and external APIs almost never return a response without Content-Type, and if Content-Type is not found, it is most likely that "some error has occurred". I think it is better to make it an error as the default behavior.
The text was updated successfully, but these errors were encountered: