For the complete documentation index, see llms.txt. This page is also available as Markdown.
Code Component SSR
Questions
Can we access HttpOnly cookies
e.g. User Accounts UserID in token
Can we access Http Response headers
e.g. Reverse proxy headers
Research findings
No, by design.
Yes, by client-side JS fetch
Inefficient
Won't be the exact current page response
but similar
Notes
Webflow does not expose the request object to Code Components during SSR.
Here's what we learned:
✅ Components DO run SSR in Cloudflare Workers
❌ No props are passed with request context
❌ No global request object is available
❌ HttpOnly cookies are inaccessible (by design)
✅ Client-side fetch CAN get response headers (18 found!)
The limitation: In Cloudflare Workers SSR, the request object exists at the worker's fetch handler level, but Webflow doesn't expose it to individual React components. This is likely intentional - components are meant to be stateless and cacheable.