Skip to content

rpcserver: restore GetOrigin and ExtractOriginFromHeader#68

Merged
odysseus0 merged 1 commit intomainfrom
odysseus0/add-origin-back
Jan 30, 2026
Merged

rpcserver: restore GetOrigin and ExtractOriginFromHeader#68
odysseus0 merged 1 commit intomainfrom
odysseus0/add-origin-back

Conversation

@odysseus0
Copy link
Contributor

Summary

Why

PR #64 removed these in favor of GetRequest(ctx), but downstream repos still use the old pattern. This unblocks those repos without requiring migration.

Test plan

  • go build ./...
  • go test ./rpcserver/...

🤖 Generated with Claude Code

Re-adds the origin extraction functionality that was removed in 84570ad.
This allows existing code using GetOrigin(ctx) to continue working
alongside the newer GetRequest(ctx) pattern.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@odysseus0 odysseus0 merged commit 23f38e2 into main Jan 30, 2026
2 checks passed
@odysseus0 odysseus0 deleted the odysseus0/add-origin-back branch January 30, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant