~ubuntu-branches/ubuntu/raring/kdepim-runtime/raring-proposed

« back to all changes in this revision

Viewing changes to resources/dav/common/davmanager.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2013-06-20 04:29:34 UTC
  • mfrom: (0.4.43)
  • Revision ID: package-import@ubuntu.com-20130620042934-nip7je5a27wideg2
Tags: 4:4.10.4-0ubuntu0.1
New upstream bugfix release (LP: #1187574)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
  // workaround needed, Depth: header doesn't seem to be correctly added
58
58
  const QString header = "Content-Type: text/xml\r\nDepth: " + depth;
59
 
  job->addMetaData( "errorPage", "false" );
60
59
  job->addMetaData( "customHTTPHeader", header );
61
60
  job->addMetaData( "cookies", "none" );
62
61
  job->addMetaData( "no-auth-prompt", "true" );
71
70
 
72
71
  // workaround needed, Depth: header doesn't seem to be correctly added
73
72
  const QString header = "Content-Type: text/xml\r\nDepth: " + depth;
74
 
  job->addMetaData( "errorPage", "false" );
75
73
  job->addMetaData( "customHTTPHeader", header );
76
74
  job->addMetaData( "cookies", "none" );
77
75
  job->addMetaData( "no-auth-prompt", "true" );
84
82
{
85
83
  KIO::DavJob *job = KIO::davPropPatch( url, document, KIO::HideProgressInfo | KIO::DefaultFlags );
86
84
  const QString header = "Content-Type: text/xml";
87
 
  job->addMetaData( "errorPage", "false" );
88
85
  job->addMetaData( "customHTTPHeader", header );
89
86
  job->addMetaData( "cookies", "none" );
90
87
  job->addMetaData( "no-auth-prompt", "true" );