missing POST body

Should the entity body of a POST request be embedded in the request? For
example, when I do a:

post.exe http://localhost:8080/myservlet "test data"

Should I expect a POST request like this?

POST /test.html HTTP/1.1 
Accept: */*;q=0.3 
Accept-Encoding: deflate 
TE: trailers,deflate 
Expect: 100-continue 
Host: localhost:8080 
User-Agent: libwww-POST/1.0 libwww/5.3.1 
Connection: TE,Keep-Alive 
Date: Mon, 19 Nov 2001 20:44:39 GMT 
Content-Length: 9
Content-Type: text/plain  

test data
^^^^^^^^^

But the body of this POST request (marked by ^^^'s) is always missing. And I
can never get the post body on the server side. I tried post.exe,
postform.exe and comline.exe samples come with libwww 5.3.2. Another weird
thing is the content_length is correct.

Any help would be highly appreciated.
Xinju

Received on Monday, 19 November 2001 16:07:59 UTC