Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xtx1130 committed Mar 29, 2022
1 parent 12b3f21 commit 249cca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/Reply.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ const milliseconds = reply.getResponseTime()
```js
reply.type('text/html')
```
如果 `Content-Type` 为 JSON 子类型,并且未设置 charset 参数,则使用 `utf-8` 作为 charset 的默认参数。

<a name="serializer"></a>
### .serializer(func)
Expand Down

0 comments on commit 249cca6

Please sign in to comment.