Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit e010e45

Browse files
committed
Merge pull request #72 from ziege/patch-1
Typo fixed
2 parents 33c1e56 + 25fc7a7 commit e010e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/custom-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Some standard use cases, however, make this un-wieldy:
1515
- Returning a response containing HTML; in this case, you likely want to provide the HTML to the
1616
constructor, not a stream with the HTML injected.
1717
- Returning a response containing JSON; in this case, you likely want to provide the data to
18-
seriazlize to JSON, not a stream containing serialized JSON.
18+
serialize to JSON, not a stream containing serialized JSON.
1919
- Returning a response with no content; in this case, you don't want to bother with the body at all.
2020
- Returning a redirect response; in this case, you likely just want to specify the target for the
2121
`Location` header, and optionally the status code.

0 commit comments

Comments
 (0)