numerus/web/static
jordi fita mas 0b74c7a91c Instruct htmx that HTTP 422 is not a “fatal error”
I use HTTP 422 to signal that a form was submitted with bad data,
which i believe is the correct status code: “indicates that the server
understands the content type of the request content […], and the syntax
of the request content is correct, but it was unable to process the
contained instructions.”[0]

htmx, however, treats all 4xx status codes as error and, by default,
does not swap the target with the response’s content.  Until i found out
that i could change that behaviour, i worked around this limitation by
returning HTTP 200 for htmx requests, but it is a waste of time given
that htmx _can_ accept HTTP 422 as a non-error.

[0]: https://www.rfc-editor.org/rfc/rfc9110#name-422-unprocessable-content
2024-08-27 11:07:39 +02:00
..
fonts Remove unused Remixicon files 2023-01-31 13:17:51 +01:00
alpinejs@3.12.0.min.js Start “improving” the user interface with AlpineJS: tax selector 2023-03-14 18:07:38 +01:00
bars.svg Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
custom-elements@1.3.0.min.js Add custom elements polyfill 2023-11-11 03:32:03 +01:00
htmx@1.9.2.min.js Update HTMx version to 1.9.2 2023-04-29 16:20:13 +02:00
invoice.css Set `white-space: pre-wrap` to first td of quotes and invoices 2024-03-13 02:56:37 +01:00
numerus.css Remove status parameter from edit_expense and forms 2024-08-26 10:42:38 +02:00
numerus.js Instruct htmx that HTTP 422 is not a “fatal error” 2024-08-27 11:07:39 +02:00
numerus.svg Clean up SVG icon 2023-01-30 16:33:49 +01:00