lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


With 'source' instead of 'body' it works.
I could hug you. Such a silly RTFM-error.

Thank you very much.

Wilhelm

Gesendet: Freitag, 25. Mai 2012 um 00:59 Uhr
Von: "Ashwin Hirschi" <lua-l@reflexis.com>
An: "Lua mailing list" <lua-l@lists.lua.org>
Betreff: Re: luasocket: Using http.request for POST request with BODY lead to timeout

> I try to use socket.http to send a SOAP message with POST in the body of
> http.

Try setting the request "source" key instead of using "body".

Also, the timeout happens because your content-length promises the server
more is on the way [but no body is ever sent].

Ashwin.


  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/