Remove notes about X-HTTP-Method-Override

Untrue since 2305aed18e925da55f15dc5798db37ac0142f2b4.
This commit is contained in:
Adam Johnson 2021-02-07 19:37:08 +00:00
parent ec57534150
commit e17dd68331
4 changed files with 0 additions and 7 deletions

View File

@ -20,8 +20,6 @@ This example will cause the `button` to issue a `DELETE` to `/account` and swap
### Notes
* `hx-delete` is not inherited
* Since most browsers do not support issuing an actual `DELETE`, the request will actually be issued
as a `POST`, with the [`X-HTTP-Method-Override`](https://en.wikipedia.org/wiki/List_of_HTTP_header_fields) header set to `DELETE`.
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute

View File

@ -20,8 +20,6 @@ This example will cause the `button` to issue a `PATCH` to `/account` and swap t
### Notes
* `hx-patch` is not inherited
* Since most browsers do not support issuing an actual `PATCH`, the request will actually be issued
as a `POST`, with the [`X-HTTP-Method-Override`](https://en.wikipedia.org/wiki/List_of_HTTP_header_fields) header set to `PATCH`.
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute

View File

@ -20,8 +20,6 @@ This example will cause the `button` to issue a `PUT` to `/account` and swap the
### Notes
* `hx-put` is not inherited
* Since most browsers do not support issuing an actual `PUT`, the request will actually be issued
as a `POST`, with the [`X-HTTP-Method-Override`](https://en.wikipedia.org/wiki/List_of_HTTP_header_fields) header set to `PUT`.
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute

View File

@ -69,7 +69,6 @@ title: </> htmx - Attributes
| Header | Description |
|-------|-------------|
| `X-HTTP-Method-Override` | the HTTP verb for non-`GET` and `POST` requests
| `HX-Current-URL` | the current URL of the browser
| `HX-Prompt` | the user response to an [hx-prompt](/attributes/hx-prompt)
| `HX-Request` | always `true`