[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KIO::http_post
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-02-05 22:59:37
Message-ID: 200402052359.37774.bastian () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu February 5 2004 20:11, Sheraz wrote:
> i'm having confusion in following:
> >job = KIO::http_post( m_url, postData, false );
> >job->addMetaData("content-type", contentType );
> >job->addMetaData("referrer", referrerURL);
>
> m_url is set with KURL...
> by setHost,setProtocol methods...
>
> after all that i have put signals for data and
> done...without any problem...postdata is filled with
> data......but in above http_post lines it seems
> addMetada is being set after the call or ? 

Yes, but that's ok because the actual transfer doesn't start till you are back 
in the event loop.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAIsrZN4pvrENfboIRAh/6AJ9IoqvdONpraL8UGHb7K96KPm7JPACdH8eO
3F7/AqUAPIyszEdN1mRwIs0=
=RugL
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic