Skip to content

Commit 3de24d3

Browse files
committed
README.md
1 parent ff3ba99 commit 3de24d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ There is also a `throw!` function to throw any kind response in an exception.
8888
; clojure.lang.ExceptionInfo: throw: {:type :ring.util.http-response/response, :response {:status 400, :headers {"header" "value"}, :body "body"}}
8989
```
9090

91-
### Catching thrown HTTP status codes
91+
### Catching thrown HTTP responses
9292

9393
Middleware `ring.middleware.http-response/wrap-http-response` catches thrown HTTP-responses and returns the responses within.
9494
See the [facts](https://github.com/metosin/ring-http-response/blob/master/test/ring/middleware/http_response_test.clj) for examples.
@@ -106,9 +106,9 @@ See the [facts](https://github.com/metosin/ring-http-response/blob/master/test/r
106106
These include: `status`, `header`, `file-response`, `content-type`, `find-header`, `get-header`, `update-header`, `charset`, `set-cookie`, `response?`
107107
`resource-data`, `url-response` and `resource-response`.
108108

109-
## Adding new responess
109+
## Adding new HTTP status codes
110110

111-
All code is generated using [Mustache](https://mustache.github.io/) templates, see [user.cl](https://github.com/metosin/ring-http-response/blob/master/dev/user.clj).
111+
All code is generated using [Mustache](https://mustache.github.io/) templates, see [user.clj](https://github.com/metosin/ring-http-response/blob/master/dev/user.clj).
112112

113113
## Making a release
114114

0 commit comments

Comments
 (0)