Update README.md

This commit is contained in:
Rob Wagner 2023-08-08 20:21:36 -04:00
parent a753da22fa
commit 070fb069a6
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61

View file

@ -34,9 +34,10 @@ axum-htmx = { git = "https://github.com/robertwayne/axum-htmx" }
## Extractors ## Extractors
All of the [htmx request headers](https://htmx.org/reference/#request_headers) All of the [htmx request headers](https://htmx.org/reference/#request_headers)
have a supported extractor. Additionally, all extractors are infallible, meaning have a supported extractor. Extractors are infallible, meaning they will always
they will always succeed and never return an error. If the header is not succeed and never return an error. In the case where a header is not present,
present, the extractor will return `None` or `false` in most cases. the extractor will return `None` or `false` dependant on the expected return
type.
| Header | Extractor | Value | | Header | Extractor | Value |
|------------------------------|---------------------------|------------------| |------------------------------|---------------------------|------------------|