httpie-django-auth
django auth plugin for HTTPie.
Installation
$ pip install httpie-django-auth
You should now see django under --auth-type in $ http --help output.
Usage
By default httpie-django-auth uses /admin/login to login. If you need to use some other url for logging, set HTTPIE_DJANGO_AUTH_URL environment variable.
export HTTPIE_DJANGO_AUTH_URL='/accounts/login/'
Make requests to your site
$ http --auth-type=django --auth='username:password' example.org
$ http -A=django --auth='username:password' example.org
$ http -A=django --auth='username:password' example.org/profile
$ http -A=django --auth='username:password' http://127.0.0.1:8000/profile
License
See LICENSE.txt
Metadata
Release files for httpie-django-auth 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| httpie-django-auth-0.1.2.tar.gz | 2.5 kB | Without provenance | Details for httpie-django-auth-0.1.2.tar.gz |
Release files / httpie-django-auth-0.1.2.tar.gz
| Download URL | httpie-django-auth-0.1.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
133229743412eca5ad466839a1308194fdc4ba3617608dc3d7ef7efbd6793275
|
|
BLAKE2b-256 checksum How to use checksums |
21e2a9e90d426af8743964b3c03095112b4b6464abc38460a2c9e57fbc3c1236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for httpie-django-auth 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.