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

Functions

def main (request, response)
 

Function Documentation

◆ main()

def large.main (   request,
  response 
)
Code for generating large responses where the actual response data
isn't very important.

Two request parameters:
size (required): An integer number of bytes (no suffix) or kilobytes
                 ("kb" suffix) or megabytes ("Mb" suffix).
string (optional): The string to repeat in the response. Defaults to "a".

Example:
    /resources/large.py?size=32Mb&string=ab