Skip to content

Feature detection mechanism for HTTPClient #141

@guoye-zhang

Description

@guoye-zhang

The main feature detection mechanism defined in HTTPClient today is the RequestOptions protocol which allows each client backend to declare their own capabilities, and allows libraries to require clients with specific capabilities.

However, this approach has limitations of detecting automatic features with no configuration (cookie jar, HSTS upgrades, post-quantum crypto, etc), and runtime behaviors (bidirectional streaming, preserving multi-value header field, etc).

How should we model these features?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions