Fix typos (#429)

This commit is contained in:
Thomas Krajacic 2020-01-18 04:11:32 +01:00 committed by Tim
parent 69ae643d3a
commit 345cf03a6a
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ let hello = try req.content.decode(Hello.self, using: decoder)
## Custom Coders
Application's and third-party packages can add support for media types that Vapor does not support by default by creating custom coders.
Applications and third-party packages can add support for media types that Vapor does not support by default by creating custom coders.
### Content

View File

@ -4,14 +4,14 @@ Vapor's Content APIs support handling URL encoded data in the URL's query string
## Decoding
To understand how decoding a URL query string works, take a look at the follow example request.
To understand how decoding a URL query string works, take a look at the following example request.
```http
GET /hello?name=Vapor HTTP/1.1
content-length: 0
```
Just like the APIs for handling HTTP message body content, the first step for parsing URL query strings is to create a `struct` that matches the expectd structure.
Just like the APIs for handling HTTP message body content, the first step for parsing URL query strings is to create a `struct` that matches the expected structure.
```swift
struct Hello: Content {