From 8b03cd96cbdc79666ae49e1b0b63b53ddb4c6bdf Mon Sep 17 00:00:00 2001 From: Everett Toews Date: Mon, 24 Aug 2015 18:28:41 -0500 Subject: [PATCH] Include file-like object in data arg description --- requests/sessions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests/sessions.py b/requests/sessions.py index c3ef363c..651fc188 100644 --- a/requests/sessions.py +++ b/requests/sessions.py @@ -410,8 +410,8 @@ class Session(SessionRedirectMixin): :param url: URL for the new :class:`Request` object. :param params: (optional) Dictionary or bytes to be sent in the query string for the :class:`Request`. - :param data: (optional) Dictionary or bytes to send in the body of the - :class:`Request`. + :param data: (optional) Dictionary, bytes, or file-like object to send + in the body of the :class:`Request`. :param json: (optional) json to send in the body of the :class:`Request`. :param headers: (optional) Dictionary of HTTP Headers to send with the