• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIOSlave

http.cpp File Reference

#include "http.h"
#include <config.h>
#include <fcntl.h>
#include <utime.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
#include <QtXml/qdom.h>
#include <QtCore/QFile>
#include <QtCore/QRegExp>
#include <QtCore/QDate>
#include <QtDBus/QtDBus>
#include <QtNetwork/QAuthenticator>
#include <QtNetwork/QNetworkProxy>
#include <QtNetwork/QTcpSocket>
#include <QtNetwork/QHostInfo>
#include <kurl.h>
#include <kdebug.h>
#include <klocale.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kservice.h>
#include <kdatetime.h>
#include <kcodecs.h>
#include <kcomponentdata.h>
#include <krandom.h>
#include <kmimetype.h>
#include <ktoolinvocation.h>
#include <kstandarddirs.h>
#include <kremoteencoding.h>
#include <kio/ioslave_defaults.h>
#include <kio/http_slave_defaults.h>
#include <httpfilter.h>
#include <misc/kntlm/kntlm.h>
#include <kapplication.h>
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <kde_file.h>
#include "parsinghelpers.cpp"
#include "httpauthentication.cpp"
#include "http.moc"

Go to the source code of this file.

Defines

#define NO_SIZE   ((KIO::filesize_t) -1)
#define STRTOLL   strtol

Functions

static QString extractMaybeQuotedUntil (const QString &str, unsigned char term, int &pos)
static QString extractUntil (const QString &str, unsigned char term, int &pos)
static QString htmlEscape (const QString &plain)
static bool isCrossDomainRequest (const QString &fqdn, const QString &originURL)
static bool isEncryptedHttpVariety (const QString &p)
static bool isHttpProxy (const KUrl &u)
static bool isValidProxy (const KUrl &u)
int kdemain (int argc, char **argv)
static QString methodString (HTTP_METHOD m)
static QString sanitizeCustomHTTPHeader (const QString &_header)
static void skipLWS (const QString &str, int &pos)

Define Documentation

#define NO_SIZE   ((KIO::filesize_t) -1)

Definition at line 253 of file http.cpp.

#define STRTOLL   strtol

Definition at line 258 of file http.cpp.


Function Documentation

static QString extractMaybeQuotedUntil ( const QString &  str,
unsigned char  term,
int &  pos 
) [static]

Definition at line 3644 of file http.cpp.

static QString extractUntil ( const QString &  str,
unsigned char  term,
int &  pos 
) [static]

Definition at line 3624 of file http.cpp.

static QString htmlEscape ( const QString &  plain  )  [static]

Definition at line 233 of file http.cpp.

static bool isCrossDomainRequest ( const QString &  fqdn,
const QString &  originURL 
) [static]

Definition at line 116 of file http.cpp.

static bool isEncryptedHttpVariety ( const QString &  p  )  [static]

Definition at line 173 of file http.cpp.

static bool isHttpProxy ( const KUrl &  u  )  [static]

Definition at line 183 of file http.cpp.

static bool isValidProxy ( const KUrl &  u  )  [static]

Definition at line 178 of file http.cpp.

int kdemain ( int  argc,
char **  argv 
)

Definition at line 97 of file http.cpp.

static QString methodString ( HTTP_METHOD  m  )  [static]

Definition at line 188 of file http.cpp.

static QString sanitizeCustomHTTPHeader ( const QString &  _header  )  [static]

Definition at line 150 of file http.cpp.

static void skipLWS ( const QString &  str,
int &  pos 
) [static]

Definition at line 3616 of file http.cpp.

KIOSlave

Skip menu "KIOSlave"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal