From d9eca19b8f1e3c357bfc05691eb1d50eece53958 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 5 May 2014 21:17:23 +0200 Subject: [PATCH] New URL. --- .travis.yml | 2 +- AUTHORS.rst | 2 +- CONTRIBUTING.rst | 8 ++--- README.rst | 70 +++++++++++++++++++-------------------- appveyor.yml | 2 +- httpie/cli.py | 2 +- httpie/client.py | 2 +- httpie/config.py | 2 +- httpie/downloads.py | 2 +- httpie/input.py | 2 +- httpie/plugins/base.py | 2 +- httpie/plugins/builtin.py | 2 +- httpie/sessions.py | 2 +- setup.py | 2 +- tests/README.rst | 2 +- tests/test_defaults.py | 4 +-- tests/test_exit_status.py | 2 +- tests/test_httpie.py | 2 +- tests/test_output.py | 2 +- 19 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e253db7..259f82fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# https://travis-ci.org/jkbr/httpie +# https://travis-ci.org/jakubroztocil/httpie language: python python: - 2.6 diff --git a/AUTHORS.rst b/AUTHORS.rst index f17b336f..80cc703d 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -2,7 +2,7 @@ HTTPie authors ============== -* `Jakub Roztocil `_ +* `Jakub Roztocil `_ Patches and ideas diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index afd5c6ab..0a64bd83 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -84,9 +84,9 @@ Don't forget to add yourself to `AUTHORS.rst`_. .. _Tox: http://tox.testrun.org -.. _supported Python environments: https://github.com/jkbr/httpie/blob/master/tox.ini -.. _existing issues: https://github.com/jkbr/httpie/issues?state=open -.. _AUTHORS.rst: https://github.com/jkbr/httpie/blob/master/AUTHORS.rst +.. _supported Python environments: https://github.com/jakubroztocil/httpie/blob/master/tox.ini +.. _existing issues: https://github.com/jakubroztocil/httpie/issues?state=open +.. _AUTHORS.rst: https://github.com/jakubroztocil/httpie/blob/master/AUTHORS.rst .. _pytest: http://pytest.org/ .. _Style Guide for Python Code: http://python.org/dev/peps/pep-0008/ -.. _test suite: https://github.com/jkbr/httpie/tree/master/tests +.. _test suite: https://github.com/jakubroztocil/httpie/tree/master/tests diff --git a/README.rst b/README.rst index be18353f..188116f0 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ colorized responses. HTTPie can be used for **testing, debugging**, and generally **interacting** with HTTP servers. -.. image:: https://github.com/jkbr/httpie/raw/master/httpie.png +.. image:: https://github.com/jakubroztocil/httpie/raw/master/httpie.png :alt: HTTPie compared to cURL :width: 835 :height: 835 @@ -101,7 +101,7 @@ The **latest development version** can be installed directly from GitHub: .. code-block:: bash - $ pip install --upgrade https://github.com/jkbr/httpie/tarball/master + $ pip install --upgrade https://github.com/jakubroztocil/httpie/tarball/master @@ -154,12 +154,12 @@ See the request that is being sent using one of the `output options`_: Use `Github API`_ to post a comment on an -`issue `_ +`issue `_ with `authentication`_: .. code-block:: bash - $ http -a USERNAME POST https://api.github.com/repos/jkbr/httpie/issues/83/comments body='HTTPie is awesome!' + $ http -a USERNAME POST https://api.github.com/repos/jakubroztocil/httpie/issues/83/comments body='HTTPie is awesome!' Upload a file using `redirected input`_: @@ -580,8 +580,8 @@ Authorization information from your ``~/.netrc`` file is honored as well: Auth Plugins ------------ -* `httpie-oauth `_: OAuth -* `httpie-ntlm `_: NTLM (NT LAN Manager) +* `httpie-oauth `_: OAuth +* `httpie-ntlm `_: NTLM (NT LAN Manager) * `httpie-negotiate `_: SPNEGO (GSS Negotiate) @@ -756,7 +756,7 @@ You can even pipe web services together using HTTPie: .. code-block:: bash - $ http GET https://api.github.com/repos/jkbr/httpie | http POST httpbin.org/post + $ http GET https://api.github.com/repos/jakubroztocil/httpie | http POST httpbin.org/post You can use ``cat`` to enter multiline data on the terminal: @@ -940,19 +940,19 @@ is being saved to a file. .. code-block:: bash - $ http --download https://github.com/jkbr/httpie/tarball/master + $ http --download https://github.com/jakubroztocil/httpie/tarball/master .. code-block:: http HTTP/1.1 200 OK Connection: keep-alive - Content-Disposition: attachment; filename=jkbr-httpie-0.4.1-33-gfc4f70a.tar.gz + Content-Disposition: attachment; filename=jakubroztocil-httpie-0.4.1-33-gfc4f70a.tar.gz Content-Length: 505530 Content-Type: application/x-gzip Server: GitHub.com Vary: Accept-Encoding - Downloading 494.89 kB to "jkbr-httpie-0.4.1-33-gfc4f70a.tar.gz" + Downloading 494.89 kB to "jakubroztocil-httpie-0.4.1-33-gfc4f70a.tar.gz" / 21.01% 104.00 kB 47.55 kB/s 0:00:08 ETA @@ -966,7 +966,7 @@ headers and progress are still shown in the terminal: .. code-block:: bash - $ http -d https://github.com/jkbr/httpie/tarball/master | tar zxf - + $ http -d https://github.com/jakubroztocil/httpie/tarball/master | tar zxf - If ``--output, -o`` is specified, you can resume a partial download using the @@ -1226,7 +1226,7 @@ Please see `claudiatd/httpie-artwork`_ Authors ======= -`Jakub Roztocil`_ (`@jkbrzt`_) created HTTPie and `these fine people`_ +`Jakub Roztocil`_ (`@jakubroztocil`_) created HTTPie and `these fine people`_ have contributed. ======= @@ -1356,38 +1356,38 @@ Changelog .. _Pygments: http://pygments.org/ .. _pip: http://www.pip-installer.org/en/latest/index.html .. _Github API: http://developer.github.com/v3/issues/comments/#create-a-comment -.. _these fine people: https://github.com/jkbr/httpie/contributors +.. _these fine people: https://github.com/jakubroztocil/httpie/contributors .. _Jakub Roztocil: http://subtleapps.com -.. _@jkbrzt: https://twitter.com/jkbrzt +.. _@jakubroztocil: https://twitter.com/jakubroztocil .. _claudiatd/httpie-artwork: https://github.com/claudiatd/httpie-artwork -.. _0.1.6: https://github.com/jkbr/httpie/compare/0.1.4...0.1.6 -.. _0.2.0: https://github.com/jkbr/httpie/compare/0.1.6...0.2.0 -.. _0.2.1: https://github.com/jkbr/httpie/compare/0.2.0...0.2.1 -.. _0.2.2: https://github.com/jkbr/httpie/compare/0.2.1...0.2.2 -.. _0.2.5: https://github.com/jkbr/httpie/compare/0.2.2...0.2.5 -.. _0.2.6: https://github.com/jkbr/httpie/compare/0.2.5...0.2.6 -.. _0.2.7: https://github.com/jkbr/httpie/compare/0.2.5...0.2.7 -.. _0.3.0: https://github.com/jkbr/httpie/compare/0.2.7...0.3.0 -.. _0.4.0: https://github.com/jkbr/httpie/compare/0.3.0...0.4.0 -.. _0.4.1: https://github.com/jkbr/httpie/compare/0.4.0...0.4.1 -.. _0.5.0: https://github.com/jkbr/httpie/compare/0.4.1...0.5.0 -.. _0.5.1: https://github.com/jkbr/httpie/compare/0.5.0...0.5.1 -.. _0.6.0: https://github.com/jkbr/httpie/compare/0.5.1...0.6.0 -.. _0.7.1: https://github.com/jkbr/httpie/compare/0.6.0...0.7.1 -.. _0.8.0: https://github.com/jkbr/httpie/compare/0.7.1...0.8.0 -.. _0.9.0-dev: https://github.com/jkbr/httpie/compare/0.8.0...master -.. _LICENSE: https://github.com/jkbr/httpie/blob/master/LICENSE +.. _0.1.6: https://github.com/jakubroztocil/httpie/compare/0.1.4...0.1.6 +.. _0.2.0: https://github.com/jakubroztocil/httpie/compare/0.1.6...0.2.0 +.. _0.2.1: https://github.com/jakubroztocil/httpie/compare/0.2.0...0.2.1 +.. _0.2.2: https://github.com/jakubroztocil/httpie/compare/0.2.1...0.2.2 +.. _0.2.5: https://github.com/jakubroztocil/httpie/compare/0.2.2...0.2.5 +.. _0.2.6: https://github.com/jakubroztocil/httpie/compare/0.2.5...0.2.6 +.. _0.2.7: https://github.com/jakubroztocil/httpie/compare/0.2.5...0.2.7 +.. _0.3.0: https://github.com/jakubroztocil/httpie/compare/0.2.7...0.3.0 +.. _0.4.0: https://github.com/jakubroztocil/httpie/compare/0.3.0...0.4.0 +.. _0.4.1: https://github.com/jakubroztocil/httpie/compare/0.4.0...0.4.1 +.. _0.5.0: https://github.com/jakubroztocil/httpie/compare/0.4.1...0.5.0 +.. _0.5.1: https://github.com/jakubroztocil/httpie/compare/0.5.0...0.5.1 +.. _0.6.0: https://github.com/jakubroztocil/httpie/compare/0.5.1...0.6.0 +.. _0.7.1: https://github.com/jakubroztocil/httpie/compare/0.6.0...0.7.1 +.. _0.8.0: https://github.com/jakubroztocil/httpie/compare/0.7.1...0.8.0 +.. _0.9.0-dev: https://github.com/jakubroztocil/httpie/compare/0.8.0...master +.. _LICENSE: https://github.com/jakubroztocil/httpie/blob/master/LICENSE .. _Tox: http://tox.testrun.org -.. _CONTRIBUTING: https://github.com/jkbr/httpie/blob/master/CONTRIBUTING.rst +.. _CONTRIBUTING: https://github.com/jakubroztocil/httpie/blob/master/CONTRIBUTING.rst .. |version| image:: https://badge.fury.io/py/httpie.svg :target: http://badge.fury.io/py/httpie -.. |unix| image:: https://api.travis-ci.org/jkbr/httpie.svg - :target: http://travis-ci.org/jkbr/httpie +.. |unix| image:: https://api.travis-ci.org/jakubroztocil/httpie.svg + :target: http://travis-ci.org/jakubroztocil/httpie :alt: Build Status of the master branch on Mac/Linux .. |windows| image:: https://ci.appveyor.com/api/projects/status/f7b5dogxuseq8srw - :target: https://ci.appveyor.com/project/jkbr/httpie + :target: https://ci.appveyor.com/project/jakubroztocil/httpie :alt: Build Status of the master branch on Windows diff --git a/appveyor.yml b/appveyor.yml index 6629706f..81e9ce88 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -# https://ci.appveyor.com/project/jkbr/httpie +# https://ci.appveyor.com/project/jakubroztocil/httpie build: false environment: matrix: diff --git a/httpie/cli.py b/httpie/cli.py index 41b68444..133be794 100644 --- a/httpie/cli.py +++ b/httpie/cli.py @@ -49,7 +49,7 @@ parser = Parser( Suggestions and bug reports are greatly appreciated: - https://github.com/jkbr/httpie/issues + https://github.com/jakubroztocil/httpie/issues """) ) diff --git a/httpie/client.py b/httpie/client.py index 5102ce46..d4c88052 100644 --- a/httpie/client.py +++ b/httpie/client.py @@ -40,7 +40,7 @@ def get_response(args, config_dir): def encode_headers(headers): # This allows for unicode headers which is non-standard but practical. - # See: https://github.com/jkbr/httpie/issues/212 + # See: https://github.com/jakubroztocil/httpie/issues/212 return dict( (name, value.encode('utf8') if isinstance(value, str) else value) for name, value in headers.items() diff --git a/httpie/config.py b/httpie/config.py index 8074e704..24d4d56a 100644 --- a/httpie/config.py +++ b/httpie/config.py @@ -80,7 +80,7 @@ class BaseConfigDict(dict): class Config(BaseConfigDict): name = 'config' - helpurl = 'https://github.com/jkbr/httpie#config' + helpurl = 'https://github.com/jakubroztocil/httpie#config' about = 'HTTPie configuration file' DEFAULTS = { diff --git a/httpie/downloads.py b/httpie/downloads.py index 170a1d4b..c88e2983 100644 --- a/httpie/downloads.py +++ b/httpie/downloads.py @@ -104,7 +104,7 @@ def filename_from_content_disposition(content_disposition): :return: the filename if present and valid, otherwise `None` """ - # attachment; filename=jkbr-httpie-0.4.1-20-g40bd8f6.tar.gz + # attachment; filename=jakubroztocil-httpie-0.4.1-20-g40bd8f6.tar.gz msg = Message('Content-Disposition: %s' % content_disposition) filename = msg.get_filename() diff --git a/httpie/input.py b/httpie/input.py index 8eb6a7da..0fa554f7 100644 --- a/httpie/input.py +++ b/httpie/input.py @@ -13,7 +13,7 @@ from argparse import ArgumentParser, ArgumentTypeError, ArgumentError from .compat import OrderedDict # TODO: Use MultiDict for headers once added to `requests`. -# https://github.com/jkbr/httpie/issues/130 +# https://github.com/jakubroztocil/httpie/issues/130 from requests.structures import CaseInsensitiveDict from .compat import urlsplit, str diff --git a/httpie/plugins/base.py b/httpie/plugins/base.py index 3afbc71e..d9dafcee 100644 --- a/httpie/plugins/base.py +++ b/httpie/plugins/base.py @@ -2,7 +2,7 @@ class AuthPlugin(object): """ Base auth plugin class. - See for an example auth plugin. + See for an example auth plugin. """ diff --git a/httpie/plugins/builtin.py b/httpie/plugins/builtin.py index 92b2f302..661055f5 100644 --- a/httpie/plugins/builtin.py +++ b/httpie/plugins/builtin.py @@ -16,7 +16,7 @@ class HTTPBasicAuth(requests.auth.HTTPBasicAuth): """ Override username/password serialization to allow unicode. - See https://github.com/jkbr/httpie/issues/212 + See https://github.com/jakubroztocil/httpie/issues/212 """ r.headers['Authorization'] = type(self).make_header( diff --git a/httpie/sessions.py b/httpie/sessions.py index 63c6012b..4fe4589e 100644 --- a/httpie/sessions.py +++ b/httpie/sessions.py @@ -81,7 +81,7 @@ def get_response(session_name, requests_kwargs, config_dir, args, class Session(BaseConfigDict): - helpurl = 'https://github.com/jkbr/httpie#sessions' + helpurl = 'https://github.com/jakubroztocil/httpie#sessions' about = 'HTTPie session file' def __init__(self, path, *args, **kwargs): diff --git a/setup.py b/setup.py index 8d9c067f..f29e159d 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ setup( description=httpie.__doc__.strip(), long_description=long_description(), url='http://httpie.org/', - download_url='https://github.com/jkbr/httpie', + download_url='https://github.com/jakubroztocil/httpie', author=httpie.__author__, author_email='jakub@roztocil.name', license=httpie.__licence__, diff --git a/tests/README.rst b/tests/README.rst index 15feb581..6fbf97e6 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -5,4 +5,4 @@ HTTPie Test Suite Please see `CONTRIBUTING`_. -.. _CONTRIBUTING: https://github.com/jkbr/httpie/blob/master/CONTRIBUTING.rst +.. _CONTRIBUTING: https://github.com/jakubroztocil/httpie/blob/master/CONTRIBUTING.rst diff --git a/tests/test_defaults.py b/tests/test_defaults.py index 0999a264..dffbaf6e 100644 --- a/tests/test_defaults.py +++ b/tests/test_defaults.py @@ -42,7 +42,7 @@ class TestAutoContentTypeAndAcceptHeaders: """ def test_GET_no_data_no_auto_headers(self): - # https://github.com/jkbr/httpie/issues/62 + # https://github.com/jakubroztocil/httpie/issues/62 r = http('GET', httpbin('/headers')) assert HTTP_OK in r assert r.json['headers']['Accept'] == '*/*' @@ -73,7 +73,7 @@ class TestAutoContentTypeAndAcceptHeaders: assert HTTP_OK in r assert r.json['headers']['Accept'] == 'application/json' # Make sure Content-Type gets set even with no data. - # https://github.com/jkbr/httpie/issues/137 + # https://github.com/jakubroztocil/httpie/issues/137 assert 'application/json' in r.json['headers']['Content-Type'] def test_GET_explicit_JSON_explicit_headers(self): diff --git a/tests/test_exit_status.py b/tests/test_exit_status.py index 558ecc52..af451ffb 100644 --- a/tests/test_exit_status.py +++ b/tests/test_exit_status.py @@ -20,7 +20,7 @@ class TestExitStatus: @pytest.mark.skipif( True, reason='timeout broken in requests' - ' (https://github.com/jkbr/httpie/issues/185)') + ' (https://github.com/jakubroztocil/httpie/issues/185)') def test_timeout_exit_status(self): r = http('--timeout=0.5', 'GET', httpbin('/delay/1'), error_exit_ok=True) diff --git a/tests/test_httpie.py b/tests/test_httpie.py index 824a94b2..74be3a59 100644 --- a/tests/test_httpie.py +++ b/tests/test_httpie.py @@ -15,7 +15,7 @@ class TestHTTPie: def test_help(self): r = http('--help', error_exit_ok=True) assert r.exit_status == httpie.ExitStatus.ERROR - assert 'https://github.com/jkbr/httpie/issues' in r + assert 'https://github.com/jakubroztocil/httpie/issues' in r def test_version(self): r = http('--version', error_exit_ok=True) diff --git a/tests/test_output.py b/tests/test_output.py index 8cef773e..7afb17f8 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -12,7 +12,7 @@ class TestVerboseFlag: assert r.count('__test__') == 2 def test_verbose_form(self): - # https://github.com/jkbr/httpie/issues/53 + # https://github.com/jakubroztocil/httpie/issues/53 r = http('--verbose', '--form', 'POST', httpbin('/post'), 'A=B', 'C=D') assert HTTP_OK in r