ParserMessage module

class message.ParserMessage.ParserMessage

Bases: object

static parseRequest(request: str)dict

Parses the incoming decoded request into a convenient and easy to use dictionary

Parameters

request – the decoded string received by the socket

Returns

A dictionary containing the parsed headers