SwensenSoftware / im-only-resting

A feature-rich WinForms-based HTTP client
http://www.swensensoftware.com/im-only-resting
Apache License 2.0
186 stars 32 forks source link

New Feature: arbitrary HTTP methods #67

Open sevaa opened 9 years ago

sevaa commented 9 years ago

My own use case has to do with WebDAV. It defines a set of additional HTTP methods including PROPFIND, MKCOL, COPY, MOVE. Also, some REST services employ the PATCH method for modifying a data item in place.

stephen-swensen commented 9 years ago

Hi @sevaa - thanks for your request. It looks like adding support for arbitrary HTTP methods is indeed feasible.

Should we really allow arbitrary HTTP methods, or would it be better / possible / practical to lock down the set of additional methods? Are there any additional considerations I should look into regarding support for WebDAV?

sevaa commented 9 years ago

WebDAV defines about 6 additional methods. There is a Microsoft extension that defines about 10 more. I am not currently interested in testing those, but they exist. With this in mind, extending the current radio button based UI doesn't seem practical. Maybe you could introduce a radio button called "Other" with a combo box of additional methods, or with an edit box... Your choice, ultimately.

As for additional considerations, maybe digest auth... WebDAV is rarely anonymous in real life.

stephen-swensen commented 9 years ago

Great, thanks for the additional insight!

ghost commented 8 years ago

I would really like at least HTTP patch support

stephen-swensen commented 8 years ago

Accepted: we will implement support for patch and arbitrary http methods.