{ "info": { "author": "Daniel G. Taylor", "author_email": "dtaylor@istreamplanet.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "# ESNI Auth Plugin for HTTPie\n\nAn [HTTPie](https://httpie.org/) auth plugin to support ESNI (aka SCTE-224) request signing. This allows you to use the `http` utility to easily make signed requests against a compliant server which checks for request signatures.\n\n## Usage\n\nFirst, install HTTPie and the plugin:\n\n```sh\n# By default on Mac, you'll need to grab `pip` first. This is a one-time task\n# you run on a new Mac then immediately forget about!\nsudo easy_install pip\n\n# Now install HTTPie and our plugin\nsudo pip install httpie httpie-esni-auth\n```\n\nThen you can start making requests!\n\n```sh\n# Local testing against an example ESNI Service on port 8080\nhttp -A esni -a 'user:pass' post :8080/example/audience/test\n\n# Set an old date header that should fail\nhttp -A esni -a 'user:pass' post :8080/example/audience/test Date:'Mon, 16 Mar 2015 22:32:15 GMT'\n\n# Upload file to a production host\nhttp -A esni -a 'user:pass' post https://example.com/example/audience/test Content-Type:application/xml