Skip to content

Conversation

@FelixHerrmann
Copy link
Owner

This PR exposes the underlying data construction with the following new APIs:

  • Array<HTTPHeaderParameter>.rawValue
  • Boundary.rawValue
  • HTTPHeaderField.data
  • HTTPHeaderField.parameterizedValue
  • HTTPHeaderField.rawValue
  • HTTPHeaderParameter.rawValue
  • MediaType.rawValue
  • Subpart.data

This should help using this library with networking frameworks other than Foundation.

Copy link

@idolize idolize left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for adding this 🙏

@FelixHerrmann FelixHerrmann marked this pull request as ready for review November 25, 2025 23:37
@FelixHerrmann FelixHerrmann merged commit e11e4aa into master Nov 25, 2025
5 checks passed
@FelixHerrmann FelixHerrmann deleted the feature/expose-underlying-data-construction branch November 25, 2025 23:38
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.

Why not expose the HTTPHeaderField._value (and HTTPHeaderParameter._text) publicly?

3 participants