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.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

httpie_akamai-0.1.4-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.4.tar.gz.

File metadata

File hashes

Hashes for httpie-akamai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1fc1f2ef939ee4d8c24576e3bbdd7b2426bdebc8ed81ba034ff6d3cafca54aba
MD5 60c38e17b2735becf1ca8215c77b018f
BLAKE2b-256 2268e6a6655812c049ef6fa4c8085848ee447ba846d4c23a94730e07ca4c9013

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for httpie_akamai-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc57840382c4e11bafc0e24cb431d22b846745dbecfc2309ae68ba4927336333
MD5 6636c8302553235e3404a58a76b200b7
BLAKE2b-256 445c0d1ceac7a78ad15eb5812547a1d36006608896fd5d51a17b9d9f5119446a

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