[Http] Add body support for DELETE/OPTIONS request
#6492 - simplified HTTP method name checks, removed duplicate/redundant `elseif` statements
#6492 - using `in_array()` instead of large boolean expression
Merge branch 'hotfix/#6492-support-delete-post-request-body'

Close #6492