Hello to all
I try to include http get and post to my program and doing tests on OverbyteIcshttptst demo.
I get function GET work but not with function POST.

I configured at home free "HFS - HTTP File Server" from http://www.rejetto.com/hfs/
When running demo I set
URL = http://81.184.21.22:100/hfs/c-obfuscado.txt
Data = C:\Mis documentos\c-obfuscado.txt
Button GET works and how text file in panel
Button POST give sequence events bellow.

Sure I missing to do something but I don't know what.
You can play with this HFS server ( http://81.184.21.22:100 ) as I have to work with some ones like this.

Thanks for any help
Xavi

Sequence of events for POST.


[HttpCli1StateChange]

[HttpCli1StateChange]

[HttpCli1StateChange]

[HttpCli1StateChange]

[HttpCli1StateChange]

[HttpCli1RequestHeaderBegin]

[HttpCli1Command]
POST /hfs/c-obfuscado.txt HTTP/1.0

[HttpCli1Command]
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

[HttpCli1Command]
Content-Type: application/x-www-form-urlencoded

[HttpCli1Command]
User-Agent: Mozilla/3.0 (compatible)

[HttpCli1Command]
Host: 192.168.2.2:100

[HttpCli1Command]
Content-Length: 33

[HttpCli1RequestHeaderEnd]

[HttpCli1Command]


[HttpCli1SendBegin]

[HttpCli1SendData]
33

[HttpCli1SendEnd]

[HttpCli1StateChange]

[HttpCli1StateChange]
POST Failed !
StatusCode   = 404
ReasonPhrase = Request aborted on timeout

[RequestDone Error]
8

--
Xavier Mor-Mur

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to