Skip to content

Commit

Permalink
Leftover from 157e315 (#3210)
Browse files Browse the repository at this point in the history
  • Loading branch information
termim authored and asvetlov committed Aug 26, 2018
1 parent 74fd256 commit 2f97bf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ and :ref:`aiohttp-web-signals` handlers.

The value could be overridden by :meth:`~BaseRequest.clone`.

``'http'`` otherwise.

Read-only :class:`str` property.

.. versionchanged:: 2.3
Expand Down Expand Up @@ -840,7 +838,7 @@ Response

Setting :attr:`body` also recalculates
:attr:`~StreamResponse.content_length` value.

Assigning :class:`str` to :attr:`body` will make the :attr:`body`
type of :class:`aiohttp.payload.StringPayload`, which tries to encode
the given data based on *Content-Type* HTTP header, while defaulting
Expand Down

0 comments on commit 2f97bf0

Please sign in to comment.