mirror of
https://github.com/httpie/cli.git
synced 2024-11-21 07:13:11 +01:00
Update links to HTTPS
This commit is contained in:
parent
2579827418
commit
63df735fef
@ -1,4 +1,4 @@
|
||||
# http://editorconfig.org
|
||||
# https://editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
|
@ -2,8 +2,8 @@
|
||||
Change Log
|
||||
==========
|
||||
|
||||
This document records all notable changes to `HTTPie <http://httpie.org>`_.
|
||||
This project adheres to `Semantic Versioning <http://semver.org/>`_.
|
||||
This document records all notable changes to `HTTPie <https://httpie.org>`_.
|
||||
This project adheres to `Semantic Versioning <https://semver.org/>`_.
|
||||
|
||||
|
||||
`2.0.0-dev`_ (unreleased)
|
||||
|
@ -112,6 +112,6 @@ Don't forget to add yourself to `AUTHORS`_!
|
||||
.. _existing issues: https://github.com/jakubroztocil/httpie/issues?state=open
|
||||
.. _AUTHORS: https://github.com/jakubroztocil/httpie/blob/master/AUTHORS.rst
|
||||
.. _Makefile: https://github.com/jakubroztocil/httpie/blob/master/Makefile
|
||||
.. _pytest: http://pytest.org/
|
||||
.. _Style Guide for Python Code: http://python.org/dev/peps/pep-0008/
|
||||
.. _pytest: https://pytest.org/
|
||||
.. _Style Guide for Python Code: https://python.org/dev/peps/pep-0008/
|
||||
.. _test suite: https://github.com/jakubroztocil/httpie/tree/master/tests
|
||||
|
18
README.rst
18
README.rst
@ -63,7 +63,7 @@ macOS
|
||||
-----
|
||||
|
||||
|
||||
On macOS, HTTPie can be installed via `Homebrew <http://brew.sh/>`_
|
||||
On macOS, HTTPie can be installed via `Homebrew <https://brew.sh/>`_
|
||||
(recommended):
|
||||
|
||||
.. code-block:: bash
|
||||
@ -537,7 +537,7 @@ fields using ``=@`` and ``:=@``:
|
||||
"married": false,
|
||||
"name": "John",
|
||||
"bookmarks": {
|
||||
"HTTPie": "http://httpie.org",
|
||||
"HTTPie": "https://httpie.org",
|
||||
}
|
||||
}
|
||||
|
||||
@ -610,7 +610,7 @@ To set custom headers you can use the ``Header:Value`` notation:
|
||||
.. code-block:: bash
|
||||
|
||||
$ http example.org User-Agent:Bacon/1.0 'Cookie:valued-visitor=yes;foo=bar' \
|
||||
X-Foo:Bar Referer:http://httpie.org/
|
||||
X-Foo:Bar Referer:https://httpie.org/
|
||||
|
||||
|
||||
.. code-block:: http
|
||||
@ -620,7 +620,7 @@ To set custom headers you can use the ``Header:Value`` notation:
|
||||
Accept-Encoding: gzip, deflate
|
||||
Cookie: valued-visitor=yes;foo=bar
|
||||
Host: example.org
|
||||
Referer: http://httpie.org/
|
||||
Referer: https://httpie.org/
|
||||
User-Agent: Bacon/1.0
|
||||
X-Foo: Bar
|
||||
|
||||
@ -1659,7 +1659,7 @@ Please use the following support channels:
|
||||
to ask questions, discuss features, and for general discussion.
|
||||
* `StackOverflow <https://stackoverflow.com>`_
|
||||
to ask questions (please make sure to use the
|
||||
`httpie <http://stackoverflow.com/questions/tagged/httpie>`_ tag).
|
||||
`httpie <https://stackoverflow.com/questions/tagged/httpie>`_ tag).
|
||||
* Tweet directly to `@clihttp <https://twitter.com/clihttp>`_.
|
||||
* You can also tweet directly to `@jakubroztocil`_.
|
||||
|
||||
@ -1672,9 +1672,9 @@ Dependencies
|
||||
|
||||
Under the hood, HTTPie uses these two amazing libraries:
|
||||
|
||||
* `Requests <http://python-requests.org>`_
|
||||
* `Requests <https://python-requests.org>`_
|
||||
— Python HTTP library for humans
|
||||
* `Pygments <http://pygments.org/>`_
|
||||
* `Pygments <https://pygments.org/>`_
|
||||
— Python syntax highlighter
|
||||
|
||||
|
||||
@ -1735,7 +1735,7 @@ have contributed.
|
||||
|
||||
|
||||
.. _pip: https://pip.pypa.io/en/stable/installing/
|
||||
.. _Github API: http://developer.github.com/v3/issues/comments/#create-a-comment
|
||||
.. _Github API: https://developer.github.com/v3/issues/comments/#create-a-comment
|
||||
.. _these fine people: https://github.com/jakubroztocil/httpie/contributors
|
||||
.. _Jakub Roztocil: https://roztocil.co
|
||||
.. _@jakubroztocil: https://twitter.com/jakubroztocil
|
||||
@ -1750,7 +1750,7 @@ have contributed.
|
||||
:alt: Test coverage
|
||||
|
||||
.. |unix_build| image:: https://img.shields.io/travis/jakubroztocil/httpie/master.svg?style=flat-square&label=unix%20build
|
||||
:target: http://travis-ci.org/jakubroztocil/httpie
|
||||
:target: https://travis-ci.org/jakubroztocil/httpie
|
||||
:alt: Build status of the master branch on Mac/Linux
|
||||
|
||||
.. |gitter| image:: https://img.shields.io/gitter/room/jkbrzt/httpie.svg?style=flat-square
|
||||
|
@ -42,7 +42,7 @@ def parse_content_range(content_range, resumed_from):
|
||||
"""
|
||||
Parse and validate Content-Range header.
|
||||
|
||||
<http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html>
|
||||
<https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html>
|
||||
|
||||
:param content_range: the value of a Content-Range response header
|
||||
eg. "bytes 21010-47021/47022"
|
||||
|
@ -25,7 +25,7 @@ from httpie.utils import load_json_preserve_order
|
||||
|
||||
|
||||
# ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
|
||||
# <http://tools.ietf.org/html/rfc3986#section-3.1>
|
||||
# <https://tools.ietf.org/html/rfc3986#section-3.1>
|
||||
URL_SCHEME_RE = re.compile(r'^[a-z][a-z0-9.+-]*://', re.IGNORECASE)
|
||||
|
||||
HTTP_POST = 'POST'
|
||||
|
@ -59,7 +59,7 @@ class AuthPlugin(BasePlugin):
|
||||
class TransportPlugin(BasePlugin):
|
||||
"""
|
||||
|
||||
http://docs.python-requests.org/en/latest/user/advanced/#transport-adapters
|
||||
https://2.python-requests.org/en/latest/user/advanced/#transport-adapters
|
||||
|
||||
"""
|
||||
|
||||
|
@ -16,7 +16,7 @@ DEFAULT_SESSIONS_DIR = os.path.join(DEFAULT_CONFIG_DIR, SESSIONS_DIR_NAME)
|
||||
VALID_SESSION_NAME_PATTERN = re.compile('^[a-zA-Z0-9_.-]+$')
|
||||
# Request headers starting with these prefixes won't be stored in sessions.
|
||||
# They are specific to each request.
|
||||
# http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Requests
|
||||
# https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Requests
|
||||
SESSION_IGNORED_HEADER_PREFIXES = ['Content-', 'If-']
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ class Session(BaseConfigDict):
|
||||
"""
|
||||
:type jar: CookieJar
|
||||
"""
|
||||
# http://docs.python.org/2/library/cookielib.html#cookie-objects
|
||||
# https://docs.python.org/2/library/cookielib.html#cookie-objects
|
||||
stored_attrs = ['value', 'path', 'secure', 'expires']
|
||||
self['cookies'] = {}
|
||||
for cookie in jar:
|
||||
|
@ -26,7 +26,7 @@ def repr_dict_nice(d):
|
||||
def humanize_bytes(n, precision=2):
|
||||
# Author: Doug Latornell
|
||||
# Licence: MIT
|
||||
# URL: http://code.activestate.com/recipes/577081/
|
||||
# URL: https://code.activestate.com/recipes/577081/
|
||||
"""Return a humanized string representation of a number of bytes.
|
||||
|
||||
Assumes `from __future__ import division`.
|
||||
|
2
setup.py
2
setup.py
@ -57,7 +57,7 @@ if 'bdist_wheel' not in sys.argv:
|
||||
|
||||
# bdist_wheel
|
||||
extras_require = {
|
||||
# http://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies
|
||||
# https://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies
|
||||
'python_version == "3.0" or python_version == "3.1"': ['argparse>=1.2.1'],
|
||||
':sys_platform == "win32"': ['colorama>=0.2.4'],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user