Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpie-akamai-0.1.5.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

httpie_akamai-0.1.5-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file httpie-akamai-0.1.5.tar.gz.

File metadata

File hashes

Hashes for httpie-akamai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 82388338c732d42023611aa81534e94d0c66afd91832cad9acb10870b3a25bcc
MD5 cbf330472aeeb9a04c8c1e3c96773435
BLAKE2b-256 323965a16bc76384626b8548994f9a128e9409b7b538abe4471c0b7d7f339b7c

See more details on using hashes here.

File details

Details for the file httpie_akamai-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for httpie_akamai-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3852b787b95cf96bfd4344a86a3bb8f186d8c44864ef5bcc2c08e0423b961706
MD5 24553b2a9b6824838f2d514616d9e533
BLAKE2b-256 097afc4ddb3728e77afd29d54c54d8492faa77133643114af48815dcc9034174

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page