Closed chrsm closed 8 years ago
I think this can be merged safely.
Thanks for the patch. Makes sense to me. We might want to add a test for it before merging?
Hi,
Currently on vacation but I will add a test when I get back next week.
On Jun 25, 2016, at 9:14 AM, Christian Joudrey notifications@github.com wrote:
Thanks for the patch. Makes sense to me. We might want to add a test for it before merging?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@chrsm I created a pull request including tests, if @cjoudrey and you don't mind I'll merge this one.
Forgot to link the new pull: https://github.com/cjoudrey/gluahttp/pull/14
Closing this in favour of #14. Thanks @chrsm for pointing this out.
Some servers will reject a POST when there is no content-length header (or if it is inaccurate). This header cannot be set from the
header
options within lua (I tracked "why" down when I committed this, but have since forgotten).