Skip to content

Fix workflow test fix and server header addition#366

Merged
piyushroshan merged 8 commits intoOWASP:developfrom
AtOM18:add_server_header
Mar 2, 2026
Merged

Fix workflow test fix and server header addition#366
piyushroshan merged 8 commits intoOWASP:developfrom
AtOM18:add_server_header

Conversation

@AtOM18
Copy link
Contributor

@AtOM18 AtOM18 commented Feb 28, 2026

Description

Please include a summary of the change, motivation and context.

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be Fix workflow test fix and server header addition

Documentation

Make sure that you have documented corresponding changes in this repository.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged
  • I have documented any changes if required in the docs.

class ServerHeaderMiddleware:
def __init__(self, app):
self.app = app
self.server_header = f"uvicorn/{version('uvicorn')}".encode()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets expose fastmcp version here instead

@AtOM18
Copy link
Contributor Author

AtOM18 commented Mar 2, 2026

@piyushroshan Updated the server header to add fastmcp version instead.

@piyushroshan piyushroshan merged commit 4dd097a into OWASP:develop Mar 2, 2026
2 of 3 checks passed
@AtOM18 AtOM18 deleted the add_server_header branch March 2, 2026 07:46
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.

2 participants