Skip to Content
🔨 Our docs are still a work-in-progress! Leave feedback here →

HTTP Headers

Standardized HTTP headers

There are many common HTTP headers that are standardized and used universally. Very few of these headers affect Skip2, here are those that do:

alt-svc

Skip2 returns an alt-svc http header to indicate to clients that they can stop using TCP and start using UDP for transport (QUIC).

cache-control

Skip2 returns an alt-svc http header to indicate to clients that they can stop using TCP and start using UDP for transport (QUIC).

cache-status

Skip2 returns an alt-svc http header to indicate to clients that they can stop using TCP and start using UDP for transport (QUIC).

server

Skip2 returns an alt-svc http header to indicate to clients that they can stop using TCP and start using UDP for transport (QUIC).

etag

Skip2 returns an alt-svc http header to indicate to clients that they can stop using TCP and start using UDP for transport (QUIC).

Non-standardized or Custom HTTP headers

There are several headers that Skip2 uses for tracking data as it flows through our network to provide troubleshooting capabilities.

X-S2-Edge

This is the name of the edge server (closest to you) that served the request.

Example: us-chi-51

X-S2-T1-Cache

This is the name of the origin server (closer to the origin) that served the request (or cached request, originally)

Example: us-nyc-41

X-S2-Config

This is the configuration version currently running on the platform.

Example: 33045976f917

X-S2-Request-Id

Unique ID used for tracking the incoming request.

Example: 001defa7-5eb1-43d9-86bc-459ccbc99e74

```X-S2-Trace“

The value of this contains segmented request trace showing more diagnostic information:

Example: Skip2-0.8.5-1764097108586-HTTP/2.0-us-chi-51-via-us-nyc-41 In the above example, we are using Skip2, platform version 0.8.5, a unix-formatted timestamp of the request time, then HTTP protocol, edge server, and tier-1 cache server.

X-S2-Proto

The value of this is the agreed-upon HTTP procol version.

Example: HTTP/3.0

X-S2-Cipher

The value of this is the agreed-upon TLS cipher.

Example: TLS_AES_128_GCM_SHA256

X-S2-Via

An RFC7230-compliant  Via header.

Example: HTTP/3.0 Skip2

Last updated on