Akamai utility plugins for HTTPie.
Project description
HTTPie plugin to help with testing sites hosted on the Akamai content delivery network.
Note: this software is not provided or endorsed by Akamai Technologies
This plugin will add standard Akamai debugging headers to the request, and colorize Akamai informational headers in the response.
Optionally, the request can be forced to the Akamai production or staging networks (if the public hostname is the same as the edge hostname).
Installation
$ pip install httpie-akamai
Usage
Prefix the URL with ak-, akp- or aks- to activate the plugin. The plugin handles URLs starting with “ak” as an alternative schema.
Use ak- to activate debugging headers and syntax coloring without changing the request target:
$ http -pHh ak-http://www.example.com/
Use akp- or aks- to force the request onto the Akamai production or staging network respectively. This only works if the public hostname and the edge hostname are the same.
$ http -pHh akp-http://www.example.com
# is equivalent to
$ http -pHh http://www.example.com.edgesuite.net Host:www.example.com
$ http aks-http://www.example.com
# is equivalent to
$ http -pHh http://www.example.com.edgesuite-staging.net Host:www.example.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file httpie-akamai-0.1.5.tar.gz
.
File metadata
- Download URL: httpie-akamai-0.1.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82388338c732d42023611aa81534e94d0c66afd91832cad9acb10870b3a25bcc |
|
MD5 | cbf330472aeeb9a04c8c1e3c96773435 |
|
BLAKE2b-256 | 323965a16bc76384626b8548994f9a128e9409b7b538abe4471c0b7d7f339b7c |
File details
Details for the file httpie_akamai-0.1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: httpie_akamai-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3852b787b95cf96bfd4344a86a3bb8f186d8c44864ef5bcc2c08e0423b961706 |
|
MD5 | 24553b2a9b6824838f2d514616d9e533 |
|
BLAKE2b-256 | 097afc4ddb3728e77afd29d54c54d8492faa77133643114af48815dcc9034174 |