mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 05:21:18 +00:00

* Allow extensions to set request bodies for GET and DELETE Even though the semantics of request bodies for GET and DELETE are undefined, it is legal to set request bodies for them. By default, GET and DELETE form parameters should be encoded as URLs. If, however, an extension defines `encodeParameters`, that should override the default and set the request bodies for GET and DELETE methods, just like it does for all the other HTTP methods. * Don't use URL params by default with DELETE * Re-enable skipped DELETE test * Remove reference to DELETE in comment * Add "useUrlParams" to requestConfig * Add config.methodsThatUseUrlParams * Add methodsThatUseUrlParams config tests * Don't switch to body params based on extension