On Thu, 11 Oct 2001, Zev Blut wrote:
> conn.setRequestMethod(HttpConnection.POST);
Actually, I found that just doing a more generic
con.setDoOutput(true);
has automatically made it into a POST request at least the Sun VM. Still
I suppose the setRequestMethod can't hurt. But at least according to the
spec, you really, really want to do the setDoOutput to set the output
property to true, because the default is false.
cjs
--
Curt Sampson <cjs_at_cynic.net> +81 3 5778 0123 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Thu Oct 11 06:13:42 2001