aesiniath / http-streams

Haskell HTTP client library for use with io-streams
https://hackage.haskell.org/package/http-streams
BSD 3-Clause "New" or "Revised" License
50 stars 48 forks source link

Allow other methods to send bodies #30

Closed MichaelXavier closed 11 years ago

MichaelXavier commented 11 years ago

As best I can sell, the only methods that really shouldn't be sending bodies are TRACE and GET. This patch solves #29 and allow methods other than those two to send bodies.

istathar commented 11 years ago

I could have sworn I read somewhere that DELETE was to be without an entity body, but, well, I can't find it in the RFC and this charming stackoverflow answer seems to agree. So be it.