Skip to content

Commit 49ccd2b

Browse files
authored
Update
1 parent 4350e93 commit 49ccd2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/fundamentals/servers/yarp/extensibility-transforms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ This sample requires YARP 1.1, see https://github.com/microsoft/reverse-proxy/pu
7171
});
7272
```
7373

74-
Custom transforms can only modify a request body if one is already present. They can't add a new body to a request that doesn't have one (for example, a POST request without a body or a GET request). If you need to add a body for a specific HTTP method and route, you must do so in middleware that runs before YARP, not in a transform.
74+
Custom transforms can only modify a request body if one is already present. They can't add a new body to a request that doesn't have one (for example, a POST request without a body or a GET request). If you need to add a body for a specific HTTP method and route, you must do so in [middleware](xref:fundamentals/middleware/index) that runs before YARP, not in a transform.
7575

7676
The following middleware demonstrates how to add a body to a request that doesn't have one:
7777

0 commit comments

Comments
 (0)