Skip to content

Instantly share code, notes, and snippets.

@winzaa123
Created September 6, 2019 12:44
Show Gist options
  • Save winzaa123/0837f53808d74878f12f401936e4dea1 to your computer and use it in GitHub Desktop.
Save winzaa123/0837f53808d74878f12f401936e4dea1 to your computer and use it in GitHub Desktop.
Header firebase cloud function example
{
"host": "us-central1-XXX-XXX-XXX.cloudfunctions.net",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
"accept-encoding": "gzip",
"accept-language": "en-US,en;q=0.9,th-TH;q=0.8,th;q=0.7",
"cache-control": "no-cache, no-store",
"cdn-loop": "Fastly",
"fastly-client-ip": "CLIENTXXX_IP",
"fastly-ff": "s48hDkrIORDrAz3sjuyh5gIWcInqIjSROZ47KAY+w/I=!SIN!cache-sin18042-SIN",
"fastly-orig-accept-encoding": "gzip, deflate",
"fastly-ssl": "1",
"fastly-temp-xff": "CLIENTXXX_IP, CLIENTXXX_IP",
"forwarded": "for=\"64.233.172.64\";proto=https",
"function-execution-id": "n436faizow32",
"pragma": "no-cache",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "none",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"via": "1.1 Firebase Hosting",
"x-appengine-city": "?",
"x-appengine-citylatlong": "0.000000,0.000000",
"x-appengine-country": "US",
"x-appengine-default-version-hostname": "h2435e7e761942cb8-tp.appspot.com",
"x-appengine-https": "on",
"x-appengine-region": "?",
"x-appengine-request-log-id": "5d72529200ff07726526e7de8b0001737e68323433356537653736313934326362382d7470000130643737343164643738373931353936616362653437346230653062376531623a38000100",
"x-appengine-user-ip": "XXX.XXX.XXX.XXX",
"x-cloud-trace-context": "5cdc85afe8c9277ad51f5733c5f61d88/18001993896194036183",
"x-forwarded-for": "CLIENTXXX_IP,CLIENTXXX_IP",
"x-forwarded-host": "XXX-XXX-XXXX.web.app",
"x-forwarded-proto": "https",
"x-forwarded-server": "cache-sin18042-SIN",
"x-forwarded-url": "/",
"x-timer": "S1567773327.545595,VS0",
"x-varnish": "1153641039",
"connection": "close"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment