CodeQL library for Python
codeql/python-all 2.1.1-dev (changelog, source)
Search

Module StdlibPrivate::WsgirefSimpleServer

Provides models for the wsgiref.simple_server module.

Import path

import semmle.python.frameworks.Stdlib

Predicates

startResponse

Gets a reference to the parameter of a WsgirefSimpleServerApplication that takes the start_response function.

subclassRef
writeFunction

Gets a reference to the write function (that will write data to the response), which is the return value from calling the start_response function.

Classes

WsgiEnvirontParameter

The parameter of a WsgirefSimpleServerApplication that takes the WSGI environment when processing a request.

WsgiServerSubclass
WsgirefSimpleServerApplication

A function that was passed to the set_app method of a wsgiref.simple_server.WSGIServer instance.

WsgirefSimpleServerApplicationReturn

A return from a WsgirefSimpleServerApplication, which is included in the response body.

WsgirefSimpleServerApplicationWriteCall

A call to the write function.

Modules

Headers

Provides models for the wsgiref.headers.Headers class