Skip to content

HTTP Request headers

X-Forwarded-For

X-Forwarded-For maintains proxy server and original visitor IP addresses. If there was no existing X-Forwarded-For header in the request sent to Swarmd, X-Forwarded-For will have the original visitor IP address.

If X-Forwared-For is already present, Swarmd will append the proxied IP address to it.

X-Forwarded-Proto

X-Forwarded-Proto describe how the connection is done between Swarmd and the visitor.

It can be either http or https.

X-Forwarded-Port

X-Forwarded-Port describe the port used for the connection between Swarmd and the visitor.

It can be either 80 or 443.

X-Forwarded-Host

X-Forwarded-Host will have the worker address, for instance demo-miaxos.d.swarmd.net.

X-I-SD-WID

X-I-SD-WID define your worker id, which is the deployed worker instance for the route.

X-SD-Loc

X-SD-Loc define the location from where this request is coming from.