Strange or not the next html form code generate a empty,only header,
POST request.

<form method="post" action="/SomeAction" onsubmit="">
<input type="submit" value="Proceed to next step" />

The cause is the onsubmit event.

If in the httpserver onPosteDocument I accept the request the connection
will hangup because no OnPostedData will trigger.
So I ask, what is the best way to treat this situation?
Probably a change in the httpserver code to immediately trigger the
onPostedData when requestelength=0? Mainly because, normally the code to
handle the POST requests is in the onPostedData handle procedure.
Or call the onPostedData from the onPosteDocument with dummy parameters
and don't accept the request?


To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to