File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,13 @@ Compliant with
14
14
[ ![ test] ( https://github.com/httpland/conditional-request-middleware/actions/workflows/test.yaml/badge.svg )] ( https://github.com/httpland/conditional-request-middleware/actions/workflows/test.yaml )
15
15
[ ![ NPM] ( https://nodei.co/npm/@httpland/conditional-request-middleware.png?mini=true )] ( https://nodei.co/npm/@httpland/conditional-request-middleware/ )
16
16
17
- ## What
18
-
19
- Middleware for HTTP Conditional Requests.
20
-
21
- It conditionally processes a HTTP request based on a precondition.
22
-
23
- It compliant with
24
- [ RFC 9110, 13. Conditional Requests] ( https://www.rfc-editor.org/rfc/rfc9110#section-13 ) .
25
-
26
17
## Middleware
27
18
28
19
For a definition of Universal HTTP middleware, see the
29
20
[ http-middleware] ( https://github.com/httpland/http-middleware ) project.
30
21
31
22
## Usage
32
23
33
- Middleware factory is exported by default.
34
-
35
24
To evaluate precondition, you need to provide a function to retrieve the
36
25
selected representation.
37
26
You can’t perform that action at this time.
0 commit comments