Skip to content

Cloudflare Request and response attribute asymmetry against Deno #24042

Description

@isaacs

wrapRequestHandlerWithInit does not do two things wrapDenoRequestHandler does:

  • set response headers as span attributes via httpHeadersToSpanAttributes(..., 'response')
  • set isolationScope.setContext('response', { status_code })

Work item. Decide which behavior is correct and make the two match. If Cloudflare deliberately skips response headers for payload-size reasons, say so in a comment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions