(keitai-l) Re: Http POST for I-mode Devices

From: Curt Sampson <cjs_at_cynic.net>
Date: 10/11/01
Message-ID: <Pine.LNX.4.33.0110111222560.8113-100000@denkigama.nat.shibuya.blink.co.jp>
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