Skip to content

API addition: System.Net.Http.HttpMethod.Patch method/verb #22325

@moljac

Description

@moljac

System.Net.Http.HttpMethod.Patch method/verb (RFC5789) is a extension to HTTP 1.1 protocol and method definitions defined in (RFC2616 Section 9).

Suggestion: add API (static method HttpMethod.Patch that returns new HttpMethod("PATCH")) which is current workaround for this issue.

Pros:

  • consistent API with other HTTP methods.

Cons:

  • none, since this is new API, there should not be any breaking changes.

Code changes can be viewed in the commit referenced below (no PR issued yet).
Preliminary builds on MacOSX passed.

References:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions