1

Is it possible to send data with the HTTP delete method because when I'm trying to send data with GWT request builder, on the server, it not finding the data!!

Noor
  • 19,638
  • 38
  • 136
  • 254

1 Answers1

1

HTTP/1.1 does not define the meaning of the request payload for the DELETE method: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7 so it might be that the browser removes it before sending the request.

HTTPbis (the revision of HTTP/1.1) adds some precision, in that it explicitly says that it doesn't define the meaning of the request payload: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-p2-semantics-17#section-6.7

All in all, GWT doesn't do anything special. If you're experiencing an unexpected behavior, it's probably your browser (or possibly a network intermediary).

Community
  • 1
  • 1
Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164