KIO HTTP: Post-Content type bug in http.c and SOAPAction header

Tim Jansen tim at tjansen.de
Mon Sep 30 08:41:30 BST 2002


On Monday 30 September 2002 00:05, Simon Hausmann wrote:
> I think a cleaner solution would be something along the lines of
>
> QString customHeader = metaData( "customHTTPHeader" );
> if ( !customHeader.isEmpty() ) {
>     header += customHeader;
>     header += "\r\n";
> }
> and on the other side:
> job->addMetaData( "customHTTPHeader", "SOAPAction: foobar" );
> You get the idea :)

Yes. Actually it would be even nicer if it was possible to add more than one 
header per request, I just dont have any idea of how to do this... at least 
not in a pretty way.

bye..




More information about the kde-core-devel mailing list