view doc/pydoc.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 b09ef85f0da6
children
line wrap: on
line source

================================
Embedded documentation from code
================================

.. contents::
   :local:

The following are embedded documentation selected from the Roundup
code base. You can see the same information using the ``help``
function after importing the modules.

Client class
============

.. autoclass:: roundup.cgi.client::Client
   :members:
   
CGI Action class
================

Action class and selected derived classes.

Action
------
.. autoclass:: roundup.cgi.actions::Action
   :members:

LoginAction
------------

.. autoclass:: roundup.cgi.actions::LoginAction
   :members:

.. _`ReauthAction_pydoc`:

ReauthAction
------------

.. autoclass:: roundup.cgi.actions::ReauthAction
   :members:
   
Templating Utils class
======================

.. autoclass:: roundup.cgi.templating::TemplatingUtils
   :members:

Logcontext Module
=================
.. _logcontext_pydoc:

.. automodule:: roundup.logcontext
   :members:
   :exclude-members: SimpleSentinel

Roundup Issue Tracker: http://roundup-tracker.org/