Standard debug header details
You can use the ew Akamai-Debug option as a request header.
curl "http://www.example.com" -H "Akamai-Debug: exp=1562789819~acl=%2f*~hmac=06b2...37cf ew" -sD -You can also use a curl request that passes the akamai-x-ew-debug Pragma as a request header.
Before you use a Pragma debug header, check to see if the Enhanced Debug behavior is enabled on your property. If it is, you need to turn off the Disable Pragma Debugging option. This Enhanced Debug option, when enabled, prevents the return of standard Pragma debug headers if you don't provide a debug token.
curl "http://www.example.com" -H "Pragma: akamai-x-ew-debug" -sD -This example shows the trace response headers with successful execution of all event handlers:
HTTP/1.1 200
Content-Type: text/html
Content-Length: 1024
Date: Tue, 17 Sep 2020 02:31:17 GMT
Connection: keep-alive
X-Akamai-EdgeWorker-onClientResponse-Info: ew=9 v7.0:EW for example.com; status=Success
X-Akamai-EdgeWorker-onClientRequest-Info: ew=9 v7.0: EW for example.com; status=Success
X-Akamai-EdgeWorker-onOriginResponse-Info: ew=9 v7.0:EW for example.com; status=Success
X-Akamai-EdgeWorker-onOriginRequest-Info: ew=9 v7.0: EW for example.com; status=Success
X-Akamai-EdgeWorker-ResponseProvider-Info: ew=9 v7.0: EW for example.com; status=Success
X-Akamai-EdgeWorker-onBotSegmentAvailable-Info: ew=9 v7.0: EW for example.com; status=Success
X-Powered-By: Akamai EdgeWorkersYou can use the ewcrgs Akamai-Debug option as a request header.
curl "http://www.example.com" -H "Akamai-Debug: exp=1562789819~acl=%2f*~hmac=06b2...37cf ewcrqs" -sD -You can also use a curl request that passes the akamai-x-ew-onclientrequest Pragma as a request header.
Before you use a Pragma debug header, check to see if the Enhanced Debug behavior is enabled on your property. If it is, you need to turn off the Disable Pragma Debugging option. This Enhanced Debug option, when enabled, prevents the return of standard Pragma debug headers if you don't provide a debug token.
curl "http://www.example.com" -H "Pragma:akamai-x-ew-onclientrequest" -sD -This example shows the trace response header with an error response:
HTTP/1.1 500 Internal Server Error
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 174
Expires: Thu, 12 Sep 2019 15:11:24 GMT
Date: Thu, 12 Sep 2019 15:11:24 GMT
Connection: close
X-Akamai-EdgeWorker-onClientRequest-Info: ew=9 v7.0:EW for example.com; status=Failed
AK_EIP_FORWARDER_IP:Standard debug headers contain EdgeWorkers details and the status type.
| Response Header fields | Details | Description |
|---|---|---|
EdgeWorker details
ew=<id>:<version>:<name> |
<id> |
EdgeWorker ID |
<version> |
EdgeWorker version number | |
<name> |
EdgeWorker name | |
Status type
status=<status type> |
<status type> |
Possible values include:
|
Updated 2 days ago
