1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

Use httpie.io/docs everywhere

[skip ci]
This commit is contained in:
Mickaël Schoentgen 2021-09-28 12:53:53 +02:00
parent 727b8a2c05
commit fe96b2af20
3 changed files with 4 additions and 4 deletions

View File

@ -311,7 +311,7 @@ class HTTPieArgumentParser(argparse.ArgumentParser):
self.error('Request body (from stdin, --raw or a file) and request '
'data (key=value) cannot be mixed. Pass '
'--ignore-stdin to let key/value take priority. '
'See https://httpie.org/doc#scripting for details.')
'See https://httpie.io/docs#scripting for details.')
def _guess_method(self):
"""Set `args.method` if not specified to either POST or GET

View File

@ -30,7 +30,7 @@ from ..ssl import AVAILABLE_SSL_VERSION_ARG_MAPPING, DEFAULT_SSL_CIPHERS
parser = HTTPieArgumentParser(
prog='http',
description=f'{__doc__.strip()} <https://httpie.org>',
description=f'{__doc__.strip()} <https://httpie.io>',
epilog=dedent('''
For every --OPTION there is also a --no-OPTION that reverts OPTION
to its default value.
@ -96,7 +96,7 @@ positional.add_argument(
':' HTTP headers:
Referer:http://httpie.org Cookie:foo=bar User-Agent:bacon/1.0
Referer:https://httpie.io Cookie:foo=bar User-Agent:bacon/1.0
'==' URL parameters to be appended to the request URI:

View File

@ -52,7 +52,7 @@ def get_httpie_session(
class Session(BaseConfigDict):
helpurl = 'https://httpie.org/doc#sessions'
helpurl = 'https://httpie.io/docs#sessions'
about = 'HTTPie session file'
def __init__(self, path: Union[str, Path]):