Mercurial > p > roundup > code
view doc/man_pages.txt @ 8586:31a8a6faa2fa
bug: Allow UsageError exception to use more specific error code
UsageError exception returned 400 error code but should return 405
when generated for a bad http method.
Modified error handler to use 400 error code if self.response_code was
less then 400. This should reproduce the standard error of 400 if one
was not specified and preserve any other explicitly set response code.
Also enhanced a test case to verify the 405 is returned.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 20 Apr 2026 03:09:30 -0400 |
| parents | e3b34d02c61a |
| children |
line wrap: on
line source
.. meta:: :description: Links to man pages for the top level commands provided by Roundup. ==================== Roundup Manual Pages ==================== Roundup man pages have been formated as html for your use. * `roundup-admin <man_pages/roundup-admin.1.html>`_ * `roundup-demo <man_pages/roundup-demo.1.html>`_ * `roundup-mailgw <man_pages/roundup-mailgw.1.html>`_ * `roundup-server <man_pages/roundup-server.1.html>`_
