webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
redirect Namespace Reference

Functions

def main (request, response)
 

Function Documentation

◆ main()

def redirect.main (   request,
  response 
)
Simple handler that causes redirection.

The request should typically have two query parameters:
status - The status to use for the redirection. Defaults to 302.
location - The resource to redirect to.