Commit e48545c
authored
chore(middleware-host-header): move to low priority (#1540)
AWS Signer requires a request to contain a `host` header, mostly the same as the request's `hostname`.
For the customizations that modifies the request's `hostname`, they need to be applied before this
middleware, Otherwise the `hostname` and `host` header would mismatch. It mean these middleware
**must** be applied relatively before this middleware. By moving it low priority, it reduce the possibility
of mistakenly adding customizations applied after this middleware. Developers only need to apply the
customizations to the `build` step, and they will be applied before this middleware by default.1 parent 04b219a commit e48545c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments