You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b16ccde
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: introduce HeaderAccessor interface for validateHeaders API
Replace Function<String, List<String>> with a dedicated HeaderAccessor
interface (getHeader + getHeaderNames) as suggested in review. Transports
now pass an HttpServletHeaderAccessor wrapping the request directly,
leveraging the servlet's native case-insensitive header lookup instead of
extracting all headers into a Map upfront.
Co-Authored-By: Neeraj Bhatt <neerajbhatt2000@gmail.com>
Copy file name to clipboardExpand all lines: mcp-core/src/main/java/io/modelcontextprotocol/server/transport/DefaultServerTransportSecurityValidator.java
Copy file name to clipboardExpand all lines: mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletSseServerTransportProvider.java
Copy file name to clipboardExpand all lines: mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletStreamableServerTransportProvider.java
0 commit comments