Skip to content
Longport Whale
Get Started

Passthrough Headers

Headers forwarded from client to backend services

The following headers are forwarded from the client to backend services without modification by the gateway. Set them to control locale, platform and version-aware behavior.

accept-language

Specifies the preferred language for the response. Falls back to the system default language when absent.

Value Language
zh-CN Simplified Chinese
zh-HK Traditional Chinese
en English

x-platform

Identifies the client platform from which the request originates.

Value Platform
ios iOS
android Android
web Web

x-app-version

Indicates the version of the client application, e.g. 3.28.0. Used for version-aware business logic and session metadata.

x-timestamp

Carries the timestamp of the request.

Whale Docs