Skip to content

fix: echo endpoint captures and returns request headers (BUG-18)#9

Merged
govindkavaturi-art merged 2 commits intomainfrom
fix/echo-capture-headers
Mar 31, 2026
Merged

fix: echo endpoint captures and returns request headers (BUG-18)#9
govindkavaturi-art merged 2 commits intomainfrom
fix/echo-capture-headers

Conversation

@govindkavaturi-art
Copy link
Copy Markdown
Member

Summary

  • echo_store() now persists dict(request.headers) in Redis alongside payload
  • echo_retrieve() returns headers field in response
  • Enables Argus Batch 2 HMAC verification tests

Fixes #8

Test plan

  • POST /v1/echo/{token} stores headers
  • GET /v1/echo/{token} returns headers including X-CueAPI-Signature
  • Argus Batch 2 HMAC tests pass after deploy

Gk and others added 2 commits March 31, 2026 17:02
echo_store() now persists dict(request.headers) alongside payload.
echo_retrieve() returns headers in response, enabling HMAC signature
verification testing via Argus.

Fixes #8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@govindkavaturi-art govindkavaturi-art merged commit c6bcf34 into main Mar 31, 2026
1 check passed
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.

BUG-18: Echo endpoint discards request headers — HMAC verification untestable

1 participant