rsnext/packages/next/server/web
Javi Velasco 8752464816
Allow reading request bodies in middlewares (#34294) (#34519)
This PR brings back @Schniz awesome contribution to bring in bodies to middleware. It was reverted to leave it out of the stable release and to have some time to test it out in canary before officially releasing it. This PR is simply a `cherry-pick` of his original work.

Closes: #30953 
Closes: https://github.com/vercel/next.js/pull/34490

Co-authored-by: Gal Schlezinger <2054772+Schniz@users.noreply.github.com>
2022-02-18 19:43:43 +00:00
..
sandbox fix process polyfill on middleware (#34426) 2022-02-18 08:39:30 +00:00
spec-compliant update NextResponse default redirect status to 307 to match docs (#33505) 2022-02-01 16:45:54 -06:00
spec-extension update NextResponse default redirect status to 307 to match docs (#33505) 2022-02-01 16:45:54 -06:00
adapter.ts Allow reading request bodies in middlewares (#34294) (#34519) 2022-02-18 19:43:43 +00:00
error.ts Improve deprecation errors for new middleware API (#30316) 2021-10-26 17:03:39 +02:00
form-data.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
is.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
next-url.ts Enforce absolute URLs in Edge Functions runtime (#33410) 2022-01-19 15:10:25 +00:00
render.ts Add new target for middleware (#30299) 2021-10-26 18:50:56 +02:00
types.ts Allow reading request bodies in middlewares (#34294) (#34519) 2022-02-18 19:43:43 +00:00
utils.ts Remove deprecation for relative URL usage in middlewares (#34461) 2022-02-17 09:12:36 -06:00