[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Fwd: KIO::TransferJob issue
From: Ian Reinhart Geiser <geiseri () pweb2 ! geo ! vip ! scd ! yahoo ! com>
Date: 2003-03-25 17:02:00
[Download RAW message or body]
-----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@yahoo.com>
- --:Public Key: http://geiseri.myip.org:8080/publickey.txt
- --:Jabber: geiseri@geiseri.myip.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+gIuJPy62TRm8dvgRArd9AJ9H/Upp7uJSJZQNU59a1Hp+ac6VLwCglpC6
3CiOK4vDgeFFlhlz3NTGAAE=
=M2qB
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic