From f74424ef03db5ae9e3670e24c986efc75dc0b262 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sat, 18 Aug 2012 23:11:56 +0200 Subject: [PATCH] README --- README.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 79a68ba7..8c4deb46 100644 --- a/README.rst +++ b/README.rst @@ -508,25 +508,25 @@ Sessions *This is an experimental feature.* -HTTPie supports named sessions, where several options and cookies sent -by the server persist between requests: +HTTPie supports named sessions, where custom headers, authorization, +and cookies sent by the server persist between requests: .. code-block:: bash http --session=user1 --auth=user1:password example.org X-Foo:Bar -Now you can always refer to the session by passing ``--session=user1``, -and the credentials, custom headers and cookies will be reused: +Now you can always refer to the session by passing ``--session=user1``: .. code-block:: bash http --session=user1 example.org -Note that session cookies respect the cookie domain and path. +Note that cookies respect the cookie domain and path. -Session data are stored in ``~/.httpie/sessions/.json``. +Session data are stored in ``~/.httpie/sessions/.json`` +(``%APPDATA%\httpie\sessions`` on Windows). You can view and manipulate existing sessions via the ``httpie`` management command, see ``httpie --help``.