diff --git a/httpie/cli/argparser.py b/httpie/cli/argparser.py index 5456330e..5739e9d3 100644 --- a/httpie/cli/argparser.py +++ b/httpie/cli/argparser.py @@ -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 diff --git a/httpie/cli/definition.py b/httpie/cli/definition.py index 9bea2bff..4fb9c184 100644 --- a/httpie/cli/definition.py +++ b/httpie/cli/definition.py @@ -30,7 +30,7 @@ from ..ssl import AVAILABLE_SSL_VERSION_ARG_MAPPING, DEFAULT_SSL_CIPHERS parser = HTTPieArgumentParser( prog='http', - description=f'{__doc__.strip()} ', + description=f'{__doc__.strip()} ', 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: diff --git a/httpie/sessions.py b/httpie/sessions.py index 2876935a..7ecb6e7b 100644 --- a/httpie/sessions.py +++ b/httpie/sessions.py @@ -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]):