From: linchiwei123 <40888469+linchiwei123@users.noreply.github.com> Date: Tue, 4 Feb 2020 02:27:10 +0000 (+0800) Subject: :bug: Fix middleware docs link (#893) X-Git-Tag: 0.48.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f964939a15d3fbd9ecec7607a5f43b0b4a2c288;p=thirdparty%2Ffastapi%2Ffastapi.git :bug: Fix middleware docs link (#893) --- diff --git a/docs/tutorial/middleware.md b/docs/tutorial/middleware.md index b37ff75f1b..9e348aa7b8 100644 --- a/docs/tutorial/middleware.md +++ b/docs/tutorial/middleware.md @@ -28,8 +28,7 @@ The middleware function receives: !!! tip Have in mind that custom proprietary headers can be added using the 'X-' prefix. - But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing) -](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in Starlette's CORS docs. + But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing)](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in Starlette's CORS docs. ### Before and after the `response`