Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tiangolo/fastapi into ko-…
Browse files Browse the repository at this point in the history
…translation
  • Loading branch information
nearnear committed Nov 25, 2022
2 parents c34e03d + 0eb05ca commit 03e768f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/docs/advanced/middleware.md
Expand Up @@ -68,7 +68,7 @@ Enforces that all incoming requests have a correctly set `Host` header, in order

The following arguments are supported:

* `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains to allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
* `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.

If an incoming request does not validate correctly then a `400` response will be sent.

Expand Down
1 change: 1 addition & 0 deletions docs/en/docs/release-notes.md
Expand Up @@ -2,6 +2,7 @@

## Latest Changes

* ✏️ Fix typo in docs for `docs/en/docs/advanced/middleware.md`. PR [#5376](https://github.com/tiangolo/fastapi/pull/5376) by [@rifatrakib](https://github.com/rifatrakib).
* ⬆ Bump black from 22.8.0 to 22.10.0. PR [#5569](https://github.com/tiangolo/fastapi/pull/5569) by [@dependabot[bot]](https://github.com/apps/dependabot).

## 0.87.0
Expand Down

0 comments on commit 03e768f

Please sign in to comment.