Skip to content

Conversation

@yehorsobko-mac
Copy link
Collaborator

This pull request has changes related to the Tool and Resources that are taken from this closed PR: #175

Motivation and Context

The idea is to make several smaller PRs compared to one huge. In this case we can iterate with maintenance more carefully.

How Has This Been Tested?

In this particular PR there's no unit tests, since the functionality is not yet completed. We have to update Server and Client respectively to these changes.

Breaking Changes

This is a wip PR, it is not designed to be published to end users

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@yehorsobko-mac yehorsobko-mac requested a review from movetz January 20, 2026 14:14
@movetz movetz requested a review from stallent January 20, 2026 14:16
public func header(_ name: String) -> String? {
let lowercased = name.lowercased()
for (key, value) in headers {
if key.lowercased() == lowercased {

Choose a reason for hiding this comment

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

Question about this one. The HTTP rfc allows for multiple headers of the same name with diff values. I've seem some frameworks handle this by returning arrays of values rather than returning the first matching one. I doubt this will ever be an issue with this sdk, but wanted to call it out in case there's potential use cases that others might have in mind

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.

3 participants