Bug reports and code and documentation patches are greatly appretiated. You can also help by using the development version of HTTPie and reporting any bugs you might encounter.
Along with a description of the problem, please provide the output of the
failing command with the --debug
flag, e.g.:
$ http --debug [minimal set of arguments that trigger the error]
Before working on a new feature or a bug, please browse existing issues to see whether it has been previously discussed. If the change in question is a bigger one, it's always good to discuss before your starting working on it.
git clone https://github.com/<YOU>/httpie
cd httpie
git checkout -b my_topical_branch
# (Recommended: create a new virtualenv)
# Install dev. requirements and also HTTPie (in editable mode
# so that the `http' command will point to your working copy):
make
Please make sure your changes conform to Style Guide for Python Code (PEP8).
Before opening a pull requests, please make sure the test suite passes in all of the supported Python environments. You should also add tests for any new features and bug fixes.
### Running all tests:
# Current Python
make test
# Current Python with coverage
make test-cover
# All the supported and available Pythons via Tox
make test-tox
### Running specific tests:
# Current Python
pytest tests/test_uploads.py
# All Pythons
tox -- tests/test_uploads.py --verbose
Don't forget to add yourself to AUTHORS.rst.