Skip to content

Undocument spin-client-addr header #2989

@lann

Description

@lann

The spin-client-addr header gives the IP and source port of some downstream client. I'd like to remove this from the "Spin contract" (and specifically developer.fermyon.com) for two reasons:

  • in many environments it won't point at the end-user client but rather some proxy; this is controlled by the host network infrastructure, not Spin
  • source port number for an http client is only very rarely useful info at the application layer

We can continue populating the header on a best-effort basis for backward compat but users should look to e.g. x-forwarded-for for this info like in any other environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Investigating / Open For Comment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions