PYTHON HttpMessage::__construct

(0)
Python replacement for PHP's HttpMessage::__construct [ edit ]



Do you know a Python replacement for PHP's HttpMessage::__construct ? Write it!

PHP HttpMessage::__construct

PHP original manual for HttpMessage::__construct [ show | php.net ]

HttpMessage::__construct

(PECL pecl_http >= 0.10.0)

HttpMessage::__constructHttpMessage constructor

Description

public void HttpMessage::__construct ([ string $message ] )

Instantiate a new HttpMessage object.

The constructed object will actually represent the last message of the passed string. If there were prior messages, those can be accessed by HttpMessage::getParentMessage().

Parameters

message

a single or several consecutive HTTP messages

Errors/Exceptions

Throws HttpMalformedHeaderException.