PYTHON HttpMessage::setBody

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



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

PHP HttpMessage::setBody

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

HttpMessage::setBody

(PECL pecl_http >= 0.14.0)

HttpMessage::setBodySet message body

Description

public void HttpMessage::setBody ( string $body )

Set the body of the HttpMessage.

Note: Don't forget to update any headers accordingly.

Parameters

body

the new body of the message