Dear all,
I have to call an API which model an HTTP DELETE operation based on the
body of the request.
It looks like currently http:send-request is not allowing body to be
present ("Body not expected for method DELETE.").
I feel that this is bit too restrictive interpretation of the spec which
states (as far as I recall) that there is no defined semantic for the
operation but not that it is forbidden.
Is there any possibility to relax this behaviour and allow for bodies in
DELETE calls? [1]
Thank you very much.
Marco.
[1]
https://github.com/BaseXdb/basex/blob/382c8097afb1ec5bac1e9511a2287686c33f669d/basex-core/src/main/java/org/basex/util/http/HttpRequestParser.java