Skip to content

Commit dfef831

Browse files
committed
Change 'Context-Type' to 'Content-Type' in guide document
1 parent 039394f commit dfef831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/content/guide/request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description = "Handling HTTP request in Echo"
1111

1212
To bind request body into a Go type use `Context#Bind(i interface{})`.
1313
The default binder supports decoding application/json, application/xml and
14-
application/x-www-form-urlencoded data based on the Context-Type header.
14+
application/x-www-form-urlencoded data based on the Content-Type header.
1515

1616
Example below binds the request payload into `User` struct based on tags:
1717

@@ -79,7 +79,7 @@ func (cb *CustomBinder) Bind(i interface{}, c echo.Context) (err error) {
7979
}
8080

8181
// Define your custom implementation
82-
82+
8383
return
8484
}
8585
```

0 commit comments

Comments
 (0)