Skip to main content

FormDataRoutingRedirect

This exception is raised in debug mode if a routing redirect would cause the browser to drop the method or body. This happens when method is not GET, HEAD or OPTIONS and the status code is not 307 or 308.

Constructor

Signature

def FormDataRoutingRedirect(
request: [Request](../wrappers/request.md?sid=src_flask_wrappers_request)
) - > None

Parameters

NameTypeDescription
request[Request](../wrappers/request.md?sid=src_flask_wrappers_request)The request object that triggered the routing redirect exception.

Signature

def FormDataRoutingRedirect(
request: [Request](../wrappers/request.md?sid=src_flask_wrappers_request)
) - > null

Parameters

NameTypeDescription
request[Request](../wrappers/request.md?sid=src_flask_wrappers_request)The incoming request object containing the routing exception and URL information used to generate the error message