ikod / dlang-requests

dlang http client library inspired by python-requests
Boost Software License 1.0
154 stars 32 forks source link

Add support for PUT, PATCH and DELETE #107

Closed katafrakt closed 5 years ago

katafrakt commented 5 years ago

This is my attempt to add support for PUT, PATCH and DELETE methods.

It adds methods put, patch and deleteRequest (probably could have a better name) to Request object + general methods putContent and patchContent. There is no deleteContent though, as I'm not sure it's a good name for it.

Tests are added, mostly by copying and pasting what I found for POST.

ikod commented 5 years ago

Thanks, @katafrakt !