Fwd: KIO::TransferJob issue
Ian Reinhart Geiser
geiseri at voix.home.geiseri.com
Tue Mar 25 17:02:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 18 March 2003 06:12 pm, Waldo Bastian wrote:
> On Tuesday 18 March 2003 21:15, David Faure wrote:
> > Im trying to use KIO::http_post() to do some XML rpc, the problem is
> > that the server wishes to see "POST /RPC2 HTTP/1.0" and I dont seem to be
> > giving it that. I _think_ im just giving it "POST /path/to/file
> > HTTP/1.0".
>
> KURL u("http://host/RPC2"); ???
Yes I was on crack, it seems the error message confused me. The problem was
when you populate the post data with a QDataStream and the << operator it
will fail... I had to do the write raw data and it worked.
Thanks for the hints
-ian reinhart geiser
- --
- --:Ian Reinhart Geiser <geiseri at yahoo.com>
- --:Public Key: http://geiseri.myip.org:8080/publickey.txt
- --:Jabber: geiseri at geiseri.myip.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+gIuJPy62TRm8dvgRArd9AJ9H/Upp7uJSJZQNU59a1Hp+ac6VLwCglpC6
3CiOK4vDgeFFlhlz3NTGAAE=
=M2qB
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list