Skip to content

Geo with country and region through ctx.geo() on Cloudflare #480

Description

@aram356

Summary

Geo with country and region through ctx.geo() on Cloudflare.

Behavior

ctx.geo() gives country and region. Fastly keeps its existing geo. Axum uses CloudFront geo from #439, bound from EdgeZero's manifest so an application reads ctx.geo() without its own boot profile (EZI-4a). Cloudflare reads its request metadata (EZI-4c). Spin, whose requests carry no geo, reads a trusted ingress header the platform sets or a KV- or API-backed provider (EZI-4s, as IABTechLab/trusted-server#1518 describes for WASM targets).

Acceptance criteria

  • A US request on Cloudflare and on Spin reports country and region, and Axum's geo loads with no Trusted Server geo setting

Dependencies

Blocked by:

Blocks:

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions