> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://akamai.ferndocs.com/edge-workers/standard-debug-header-details/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://akamai.ferndocs.com/_mcp/server. # Standard debug header details Here's a curl request that passes the Pragma `akamai-x-ew-debug` request header: ```curl 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 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-Powered-By: Akamai EdgeWorkers ``` Here's a curl request that passes the Pragma `akamai-x-ew-onclientrequest` request header: ```curl curl "http://www.example.com" -H "Pragma:akamai-x-ew-onclientrequest" -sD - ``` This example shows the trace response header with an error response: ```http 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:
|