mirror of
https://github.com/httpie/cli.git
synced 2025-06-26 20:41:49 +02:00
Clean up.
This commit is contained in:
parent
1c5fb89001
commit
4a24cd25b9
@ -843,8 +843,7 @@ Sessions
|
|||||||
========
|
========
|
||||||
|
|
||||||
By default, every request is completely independent of the previous ones.
|
By default, every request is completely independent of the previous ones.
|
||||||
|
HTTPie also supports persistent sessions, where custom headers, authorization,
|
||||||
HTTPie supports persistent sessions, where custom headers, authorization,
|
|
||||||
and cookies (manually specified or sent by the server) persist between
|
and cookies (manually specified or sent by the server) persist between
|
||||||
requests to the same host.
|
requests to the same host.
|
||||||
|
|
||||||
@ -895,6 +894,7 @@ following keys:
|
|||||||
|
|
||||||
``default_options`` An ``Array`` (by default empty) of options
|
``default_options`` An ``Array`` (by default empty) of options
|
||||||
that should be applied to every request.
|
that should be applied to every request.
|
||||||
|
|
||||||
For instance, you can use this option to change
|
For instance, you can use this option to change
|
||||||
the default style and output options:
|
the default style and output options:
|
||||||
``"default_options": ["--style=fruity", "--body"]``
|
``"default_options": ["--style=fruity", "--body"]``
|
||||||
|
@ -13,7 +13,6 @@ class Environment(object):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#noinspection PyUnresolvedReferences
|
|
||||||
is_windows = is_windows
|
is_windows = is_windows
|
||||||
|
|
||||||
progname = os.path.basename(sys.argv[0])
|
progname = os.path.basename(sys.argv[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user