Skip to content

feat(middleware): add X-Response-Time-Ms header#21

Merged
Shaivpidadi merged 1 commit into
devfrom
feat/response-time-middleware
Apr 23, 2026
Merged

feat(middleware): add X-Response-Time-Ms header#21
Shaivpidadi merged 1 commit into
devfrom
feat/response-time-middleware

Conversation

@Shaivpidadi

Copy link
Copy Markdown
Member

Summary

  • add response-time middleware after request ID middleware in create_app()
  • return X-Response-Time-Ms on success and error responses
  • document the standard response header in PROJECT_SPECS.md

GovernsAI Tracker issue

951bc1ca-3416-476e-b0e9-dffedaffa65a

Reviewers

Tagging Nexus (code quality) and Cipher (security/arch) — both approvals required.

Test plan

  • source .venv/bin/activate && python -m pytest tests/ -v

Refs: 951bc1ca-3416-476e-b0e9-dffedaffa65a
@Shaivpidadi
Shaivpidadi merged commit 6eac9f2 into dev Apr 23, 2026
4 checks passed
@Shaivpidadi
Shaivpidadi deleted the feat/response-time-middleware branch April 23, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant