chansen / p5-http-tiny

Tiny HTTP Client
https://metacpan.org/dist/HTTP-Tiny
53 stars 52 forks source link

Add PATCH method #127

Closed greg-kennedy closed 3 years ago

greg-kennedy commented 5 years ago

Adds an additional PATCH method to the standard convenience set (get, head, put, post, delete). PATCH is common for REST web services and was given official definition in RFC 5789 (https://tools.ietf.org/html/rfc5789)

Note that PATCH is not considered idempotent.

xdg commented 3 years ago

Rebased, amended, and merged as 7dcbd18. Thank you for the contribution. Sorry it took so long to apply.