Additional HTTP method (DELETE)

Hi,

Just curious how much work you think would be required to support the HTTP
DELETE method. I've started looking at the code, but am not familiar
with Werkzeug.

I have a service that I use to delete files (it's secured) and it seems odd
making it a POST with a body content 'DELETE' :slight_smile:

Geoff

This is actually already supported (all the HTTP methods are)

The docs are out of date I'm afraid. Would be an easy fix if you wanted to
raise a PR :wink:

路路路

On Monday, October 23, 2017 at 5:10:27 PM UTC+1, juko...@gmail.com wrote:

Hi,

Just curious how much work you think would be required to support the HTTP
DELETE method. I've started looking at the code, but am not familiar
with Werkzeug.

I have a service that I use to delete files (it's secured) and it seems
odd making it a POST with a body content 'DELETE' :slight_smile:

Geoff

Haha! Now that is something I can do!

Thanks Matt!

路路路

On Monday, October 23, 2017 at 9:14:40 AM UTC-7, Matt Yule-Bennett wrote:

This is actually already supported (all the HTTP methods are)

The docs are out of date I'm afraid. Would be an easy fix if you wanted to
raise a PR :wink:

On Monday, October 23, 2017 at 5:10:27 PM UTC+1, juko...@gmail.com wrote:

Hi,

Just curious how much work you think would be required to support the
HTTP DELETE method. I've started looking at the code, but am not familiar
with Werkzeug.

I have a service that I use to delete files (it's secured) and it seems
odd making it a POST with a body content 'DELETE' :slight_smile:

Geoff