Apply page method guards and 404 status in entrypoint handlers
Adapters invoke the app-page and pages entrypoint handlers directly, so the
OPTIONS (400) and static-page (405) method guards and the 404 status for the
not-found page, which only lived in BaseServer, were skipped: OPTIONS on a
dynamic page rendered it in full and returned 200. Mirror those checks in the
handlers so every adapter gets them.
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment