Skip to content

Commit 7fca4eb

Browse files
committed
docs: add reference
1 parent 64736df commit 7fca4eb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ HTTP compression middleware.
1414
Compresses HTTP Content(body).
1515

1616
Compliant with
17-
[RFC 9110, 8.4. Content-Encoding](https://www.rfc-editor.org/rfc/rfc9110.html#section-8.4).
17+
[RFC 9110, 8.4. Content-Encoding](https://www.rfc-editor.org/rfc/rfc9110.html#section-8.4)
18+
and
19+
[RFC 9110, 12.5.3. Accept-Encoding](https://www.rfc-editor.org/rfc/rfc9110.html#name-accept-encoding)
20+
.
1821

1922
## Middleware
2023

@@ -166,6 +169,11 @@ Middleware is executed if all of the following conditions are met:
166169
- Response body is readable
167170
- Response body is [compressible](#compressible)
168171

172+
## API
173+
174+
All APIs can be found in the
175+
[deno doc](https://doc.deno.land/https/deno.land/x/compression_middleware/mod.ts).
176+
169177
## License
170178

171179
Copyright © 2023-present [httpland](https://github.com/httpland).

0 commit comments

Comments
 (0)