CFHTTP Does Not Allow a Body Payload for the DELETE Method

Description

When using the DELETE method with CFHTTP it call fails with the message "type body is only supported for type post and put" when a body is provided.

My understanding is that this should be permissible.

Adobe ColdFusion 2016 allows it and the API I'm trying to interact with expects a body (https://developer.github.com/v3/repos/contents/#delete-a-file).

Environment

CommandBox on MacOS 10.12.6

Activity

Igal Sapir 
14 August 2017 at 17:36

Right. I'm closing this one as duplicate of https://luceeserver.atlassian.net/browse/LDEV-687#icft=LDEV-687

Richard Herbert 
14 August 2017 at 16:47

Sorry, I should have searched for related issues (there's me thinking I could be the only one to be affected!).

Now that I have I've also found...

https://luceeserver.atlassian.net/browse/LDEV-687

...which seems closer to my use case.

Igal Sapir 
14 August 2017 at 16:40

Duplicate

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 14 August 2017 at 16:39
Updated 8 September 2017 at 14:48
Resolved 14 August 2017 at 17:36