Commit Graph

18 Commits

Author SHA1 Message Date
Unrud 685a91bfe6 web.none: Redirect instead of 404 2022-01-18 18:20:16 +01:00
Unrud 22fc38850c web.internal: Use absolute path for redirect 2022-01-18 18:20:15 +01:00
Unrud e0adecf30c Tests: Check Location header and body for redirects 2022-01-16 13:09:13 +01:00
Unrud 402bd3580e Tests: Simplify HTTP status check 2022-01-16 13:07:56 +01:00
Unrud 4b5165dc42 Extract method configure 2021-12-10 20:54:04 +01:00
Unrud bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud 60f25bf19a Type hints for tests 2021-09-26 22:24:45 +02:00
Unrud 80e8750c8a Add more tests 2020-09-14 18:54:02 +02:00
Tom Hacohen d3bb19800c
Web: add support for the POST HTTP method. (#1097)
* Web: add support for the POST HTTP method.

This patch adds support for POST in addition to the already supported GET.

This is needed for implementing more complex web modules that also
support configuration modifications and advanced queries.

* Base web: return METHOD_NOT_ALLOWED when method isn't implemenetd.

Co-authored-by: Unrud <Unrud@users.noreply.github.com>
2020-09-14 18:17:45 +02:00
Unrud 180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud 5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud fc180266d5 Improve tests
- Parse and verify XML responses
- Extract methods for common requests
2020-01-20 09:47:51 +01:00
Unrud ed72e697de Tests: Use absolute imports 2020-01-15 18:44:00 +01:00
Unrud caf5ff1080 Change default value for external users 2020-01-12 23:32:26 +01:00
Unrud b7590f8c84 Rework configuration 2019-06-17 04:18:09 +02:00
Unrud 63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud 5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud 17127d97a6 Test web plugin 2018-09-04 03:33:42 +02:00