PYTHON HttpMessage::setHeaders

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



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

PHP HttpMessage::setHeaders

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

HttpMessage::setHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::setHeadersSet headers

Description

public void HttpMessage::setHeaders ( array $headers )

Sets new headers.

Parameters

headers

associative array containing the new HTTP headers, which will replace all previous HTTP headers of the message