OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
Loading...
Searching...
No Matches
http_test.HttpHandler Class Reference
Inheritance diagram for http_test.HttpHandler:

Public Member Functions

 log_message (self, *args)
 reply (self, status, body, headers=(), head=False)
 chunked (self, parts)
 route (self, method)
 do_GET (self)
 do_POST (self)
 do_HEAD (self)

Public Attributes

bool close_connection = True

Static Public Attributes

str protocol_version = 'HTTP/1.1'

Member Function Documentation

◆ chunked()

http_test.HttpHandler.chunked ( self,
parts )

◆ do_GET()

http_test.HttpHandler.do_GET ( self)

◆ do_HEAD()

http_test.HttpHandler.do_HEAD ( self)

◆ do_POST()

http_test.HttpHandler.do_POST ( self)

◆ log_message()

http_test.HttpHandler.log_message ( self,
* args )

◆ reply()

http_test.HttpHandler.reply ( self,
status,
body,
headers = (),
head = False )

◆ route()

http_test.HttpHandler.route ( self,
method )

Member Data Documentation

◆ close_connection

bool http_test.HttpHandler.close_connection = True

◆ protocol_version

str http_test.HttpHandler.protocol_version = 'HTTP/1.1'
static

The documentation for this class was generated from the following file: