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

kioslave

HTTPProtocol Class Reference

#include <http.h>

Inheritance diagram for HTTPProtocol:

Inheritance graph
[legend]

List of all members.


Classes

struct  DAVRequest
 DAV-specific request elements for the current connection. More...
struct  DigestAuthInfo
struct  HTTPRequest
 The request for the current connection. More...
struct  HTTPState
 HTTP / DAV method. More...

Public Types

enum  HTTP_AUTH {
  AUTH_None, AUTH_Basic, AUTH_NTLM, AUTH_Digest,
  AUTH_Negotiate
}
enum  HTTP_REV {
  HTTP_None, HTTP_Unknown, HTTP_10, HTTP_11,
  SHOUTCAST
}

Public Member Functions

void cacheUpdate (const KURL &url, bool nocache, time_t expireDate)
bool checkRequestURL (const KURL &)
virtual void closeConnection ()
virtual void copy (const KURL &src, const KURL &dest, int permissions, bool overwrite)
QString davError (int code=-1, QString url=QString::null)
void davFinished ()
void davGeneric (const KURL &url, KIO::HTTP_METHOD method)
bool davHostOk ()
void davLock (const KURL &url, const QString &scope, const QString &type, const QString &owner)
void davUnlock (const KURL &url)
virtual void del (const KURL &url, bool isfile)
virtual void get (const KURL &url)
void httpError ()
 HTTPProtocol (const QCString &protocol, const QCString &pool, const QCString &app)
bool isOffline (const KURL &url)
virtual void listDir (const KURL &url)
virtual void mimetype (const KURL &url)
virtual void mkdir (const KURL &url, int permissions)
void multiGet (const QByteArray &data)
void post (const KURL &url)
virtual void put (const KURL &url, int permissions, bool overwrite, bool resume)
virtual void rename (const KURL &src, const KURL &dest, bool overwrite)
virtual void reparseConfiguration ()
virtual void setHost (const QString &host, int port, const QString &user, const QString &pass)
virtual void slave_status ()
virtual void special (const QByteArray &data)
virtual void stat (const KURL &url)
virtual ~HTTPProtocol ()

Protected Slots

void error (int _errid, const QString &_text)
void slotData (const QByteArray &)

Protected Member Functions

void addCookies (const QString &url, const QCString &cookieHeader)
void addEncoding (QString, QStringList &)
void calculateResponse (DigestAuthInfo &info, QCString &Response)
FILE * checkCacheEntry (bool readWrite=false)
void cleanCache ()
void closeCacheEntry ()
int codeFromResponse (const QString &response)
void configAuth (char *, bool)
QString createBasicAuth (bool isForProxy=false)
void createCacheEntry (const QString &mimetype, time_t expireDate)
QString createDigestAuth (bool isForProxy=false)
QString createNegotiateAuth ()
QString createNTLMAuth (bool isForProxy=false)
void davParseActiveLocks (const QDomNodeList &activeLocks, uint &lockCount)
void davParsePropstats (const QDomNodeList &propstats, KIO::UDSEntry &entry)
QString davProcessLocks ()
void davSetRequest (const QCString &requestXML)
void davStatList (const KURL &url, bool stat=true)
QString findCookies (const QString &url)
void forwardHttpResponseHeader ()
bool getAuthorization ()
char * gets (char *str, int size)
QCString gssError (int major_status, int minor_status)
void httpCheckConnection ()
void httpClose (bool keepAlive)
void httpCloseConnection ()
bool httpOpen ()
bool httpOpenConnection ()
long parseDateTime (const QString &input, const QString &type)
void promptInfo (KIO::AuthInfo &info)
QString proxyAuthenticationHeader ()
ssize_t read (void *b, size_t nbytes)
bool readBody (bool dataInternal=false)
int readChunked ()
bool readHeader ()
int readLimited ()
int readUnlimited ()
void resetConnectionSettings ()
void resetResponseSettings ()
void resetSessionSettings ()
void retrieveContent (bool dataInternal=false)
bool retrieveHeader (bool close_connection=true)
bool retryPrompt ()
void rewind ()
void saveAuthorization ()
bool sendBody ()
void setRewindMarker ()
void updateExpireDate (time_t expireDate, bool updateCreationDate=false)
ssize_t write (const void *buf, size_t nbytes)
void writeCacheEntry (const char *buffer, int nbytes)

Protected Attributes

HTTP_AUTH Authentication
bool m_bBusy
bool m_bChunked
bool m_bEOD
bool m_bEOF
bool m_bError
bool m_bFirstRequest
bool m_bIsTunneled
bool m_bKeepAlive
bool m_bNeedTunnel
bool m_bPersistentProxyConnection
bool m_bProxyAuthValid
bool m_bRedirect
QByteArray m_bufPOST
QByteArray m_bufReceive
QByteArray m_bufWebDavData
bool m_bUnauthorized
bool m_bUseProxy
bool m_cpMimeBuffer
bool m_dataInternal
QStringList m_davCapabilities
bool m_davHostOk
bool m_davHostUnsupported
KIO::filesize_t m_iBytesLeft
KIO::filesize_t m_iContentLeft
short unsigned int m_iProxyAuthCount
int m_iProxyPort
KIO::filesize_t m_iSize
short unsigned int m_iWWWAuthCount
int m_keepAliveTimeout
char m_lineBuf [1024]
char * m_lineBufUnget
size_t m_lineCount
size_t m_lineCountUnget
char * m_linePtr
char * m_linePtrUnget
int m_maxCacheAge
long m_maxCacheSize
QByteArray m_mimeTypeBuffer
int m_pid
unsigned int m_prevResponseCode
QCString m_protocol
int m_proxyConnTimeout
KURL m_proxyURL
QStringList m_qContentEncodings
QStringList m_qTransferEncodings
KURL m_redirectLocation
int m_remoteConnTimeout
int m_remoteRespTimeout
HTTPRequest m_request
QPtrList< HTTPRequest > m_requestQueue
unsigned int m_responseCode
QStringList m_responseHeader
char m_rewindBuf [8192]
size_t m_rewindCount
QString m_sContentMD5
HTTPState m_state
QString m_strAuthorization
QString m_strCacheDir
QString m_strMimeType
QString m_strProxyAuthorization
QString m_strProxyRealm
QString m_strRealm
HTTP_AUTH ProxyAuthentication

Detailed Description

Definition at line 49 of file http.h.


Member Enumeration Documentation

enum HTTPProtocol::HTTP_AUTH

Authorization method used.

Enumerator:
AUTH_None 
AUTH_Basic 
AUTH_NTLM 
AUTH_Digest 
AUTH_Negotiate 

Definition at line 61 of file http.h.

enum HTTPProtocol::HTTP_REV

HTTP version.

Enumerator:
HTTP_None 
HTTP_Unknown 
HTTP_10 
HTTP_11 
SHOUTCAST 

Definition at line 58 of file http.h.


Constructor & Destructor Documentation

HTTPProtocol::HTTPProtocol ( const QCString &  protocol,
const QCString &  pool,
const QCString &  app 
)

Definition at line 198 of file http.cc.

HTTPProtocol::~HTTPProtocol (  )  [virtual]

Definition at line 226 of file http.cc.


Member Function Documentation

void HTTPProtocol::addCookies ( const QString &  url,
const QCString &  cookieHeader 
) [protected]

Send a cookie to the cookiejar.

Definition at line 4588 of file http.cc.

void HTTPProtocol::addEncoding ( QString  encoding,
QStringList &  encs 
) [protected]

Add an encoding on to the appropriate stack this is nececesary because transfer encodings and content encodings must be handled separately.

Definition at line 3852 of file http.cc.

void HTTPProtocol::cacheUpdate ( const KURL &  url,
bool  nocache,
time_t  expireDate 
)

Definition at line 4639 of file http.cc.

void HTTPProtocol::calculateResponse ( DigestAuthInfo &  info,
QCString &  Response 
) [protected]

Calcualtes the message digest response based on RFC 2617.

Definition at line 5672 of file http.cc.

FILE * HTTPProtocol::checkCacheEntry ( bool  readWrite = false  )  [protected]

Do a cache lookup for the current url.

(m_state.url)

Parameters:
readWrite If true, file is opened read/write. If false, file is opened read-only.
Returns:
a file stream open for reading and at the start of the header section when the Cache entry exists and is valid. 0 if no cache entry could be found, or if the entry is not valid (any more).

Definition at line 4670 of file http.cc.

bool HTTPProtocol::checkRequestURL ( const KURL &  u  ) 

Definition at line 459 of file http.cc.

void HTTPProtocol::cleanCache (  )  [protected]

Quick check whether the cache needs cleaning.

Definition at line 4970 of file http.cc.

void HTTPProtocol::closeCacheEntry (  )  [protected]

Close cache entry.

Definition at line 4951 of file http.cc.

void HTTPProtocol::closeConnection (  )  [virtual]

Definition at line 3992 of file http.cc.

int HTTPProtocol::codeFromResponse ( const QString &  response  )  [protected]

Returns the error code from a "HTTP/1.1 code Code Name" string.

Definition at line 829 of file http.cc.

void HTTPProtocol::configAuth ( char *  p,
bool  isForProxy 
) [protected]

Definition at line 5010 of file http.cc.

void HTTPProtocol::copy ( const KURL &  src,
const KURL &  dest,
int  permissions,
bool  overwrite 
) [virtual]

Definition at line 1318 of file http.cc.

QString HTTPProtocol::createBasicAuth ( bool  isForProxy = false  )  [protected]

Creates the entity-header for Basic authentication.

Definition at line 5642 of file http.cc.

void HTTPProtocol::createCacheEntry ( const QString &  mimetype,
time_t  expireDate 
) [protected]

Create a cache entry for the current url.

(m_state.url)

Set the contents type of the cache entry to 'mimetype'.

Definition at line 4868 of file http.cc.

QString HTTPProtocol::createDigestAuth ( bool  isForProxy = false  )  [protected]

Creates the entity-header for Digest authentication.

Definition at line 5739 of file http.cc.

QString HTTPProtocol::createNegotiateAuth (  )  [protected]

Creates the entity-header for Negotiate authentication.

Definition at line 5578 of file http.cc.

QString HTTPProtocol::createNTLMAuth ( bool  isForProxy = false  )  [protected]

Creates the entity-header for NTLM authentication.

Definition at line 5584 of file http.cc.

QString HTTPProtocol::davError ( int  code = -1,
QString  url = QString::null 
)

Definition at line 1535 of file http.cc.

void HTTPProtocol::davFinished (  ) 

Definition at line 1200 of file http.cc.

void HTTPProtocol::davGeneric ( const KURL &  url,
KIO::HTTP_METHOD  method 
)

Definition at line 808 of file http.cc.

bool HTTPProtocol::davHostOk (  ) 

Definition at line 1145 of file http.cc.

void HTTPProtocol::davLock ( const KURL &  url,
const QString &  scope,
const QString &  type,
const QString &  owner 
)

Definition at line 1447 of file http.cc.

void HTTPProtocol::davParseActiveLocks ( const QDomNodeList &  activeLocks,
uint &  lockCount 
) [protected]

Definition at line 1032 of file http.cc.

void HTTPProtocol::davParsePropstats ( const QDomNodeList &  propstats,
KIO::UDSEntry &  entry 
) [protected]

QString HTTPProtocol::davProcessLocks (  )  [protected]

Extracts locks from metadata Returns the appropriate If: header.

Definition at line 1096 of file http.cc.

void HTTPProtocol::davSetRequest ( const QCString &  requestXML  )  [protected]

Performs a WebDAV stat or list.

Definition at line 657 of file http.cc.

void HTTPProtocol::davStatList ( const KURL &  url,
bool  stat = true 
) [protected]

Definition at line 666 of file http.cc.

void HTTPProtocol::davUnlock ( const KURL &  url  ) 

Definition at line 1513 of file http.cc.

void HTTPProtocol::del ( const KURL &  url,
bool  isfile 
) [virtual]

Definition at line 1406 of file http.cc.

void HTTPProtocol::error ( int  _errid,
const QString &  _text 
) [protected, slot]

Definition at line 4565 of file http.cc.

QString HTTPProtocol::findCookies ( const QString &  url  )  [protected]

Look for cookies in the cookiejar.

Definition at line 4605 of file http.cc.

void HTTPProtocol::forwardHttpResponseHeader (  )  [protected]

Definition at line 2645 of file http.cc.

void HTTPProtocol::get ( const KURL &  url  )  [virtual]

Definition at line 1229 of file http.cc.

bool HTTPProtocol::getAuthorization (  )  [protected]

Retrieves authorization info from cache or user.

Definition at line 5198 of file http.cc.

char * HTTPProtocol::gets ( char *  str,
int  size 
) [protected]

Definition at line 1920 of file http.cc.

QCString HTTPProtocol::gssError ( int  major_status,
int  minor_status 
) [protected]

create GSS error string

Definition at line 5572 of file http.cc.

void HTTPProtocol::httpCheckConnection (  )  [protected]

Definition at line 1996 of file http.cc.

void HTTPProtocol::httpClose ( bool  keepAlive  )  [protected]

Definition at line 3954 of file http.cc.

void HTTPProtocol::httpCloseConnection (  )  [protected]

Definition at line 3998 of file http.cc.

void HTTPProtocol::httpError (  ) 

Definition at line 1736 of file http.cc.

bool HTTPProtocol::httpOpen (  )  [protected]

This function is responsible for opening up the connection to the remote HTTP server and sending the header.

If this requires special authentication or other such fun stuff, then it will handle it. This function will NOT receive anything from the server, however. This is in contrast to previous incarnations of 'httpOpen'.

The reason for the change is due to one small fact: some requests require data to be sent in addition to the header (POST requests) and there is no way for this function to get that data. This function is called in the slotPut() or slotGet() functions which, in turn, are called (indirectly) as a result of a KIOJob::put() or KIOJob::get(). It is those latter functions which are responsible for starting up this ioslave in the first place. This means that 'httpOpen' is called (essentially) as soon as the ioslave is created -- BEFORE any data gets to this slave.

The basic process now is this:

1) Open up the socket and port 2) Format our request/header 3) Send the header to the remote server

Definition at line 2158 of file http.cc.

bool HTTPProtocol::httpOpenConnection (  )  [protected]

Definition at line 2043 of file http.cc.

bool HTTPProtocol::isOffline ( const KURL &  url  ) 

Definition at line 1798 of file http.cc.

void HTTPProtocol::listDir ( const KURL &  url  )  [virtual]

Definition at line 641 of file http.cc.

void HTTPProtocol::mimetype ( const KURL &  url  )  [virtual]

Definition at line 4017 of file http.cc.

void HTTPProtocol::mkdir ( const KURL &  url,
int  permissions 
) [virtual]

Definition at line 1207 of file http.cc.

void HTTPProtocol::multiGet ( const QByteArray &  data  ) 

Definition at line 1822 of file http.cc.

long HTTPProtocol::parseDateTime ( const QString &  input,
const QString &  type 
) [protected]

Parses a date & time string.

Definition at line 1077 of file http.cc.

void HTTPProtocol::post ( const KURL &  url  ) 

Definition at line 1430 of file http.cc.

void HTTPProtocol::promptInfo ( KIO::AuthInfo &  info  )  [protected]

Creates authorization prompt info.

QString HTTPProtocol::proxyAuthenticationHeader (  )  [protected]

Returns any pre-cached proxy authentication info info in HTTP header format.

Definition at line 6013 of file http.cc.

void HTTPProtocol::put ( const KURL &  url,
int  permissions,
bool  overwrite,
bool  resume 
) [virtual]

Definition at line 1254 of file http.cc.

ssize_t HTTPProtocol::read ( void *  b,
size_t  nbytes 
) [protected]

Another "smart" wrapper, this time around read that will use SSL_read or read(2) depending on whether you've got an SSL connection or not.

Definition at line 1949 of file http.cc.

bool HTTPProtocol::readBody ( bool  dataInternal = false  )  [protected]

This function is our "receive" function.

It is responsible for downloading the message (not the header) from the HTTP server. It is called either as a response to a client's KIOJob::dataEnd() (meaning that the client is done sending data) or by 'httpOpen()' (if we are in the process of a PUT/POST request). It can also be called by a webDAV function, to receive stat/list/property/etc. data; in this case the data is stored in m_bufWebDavData.

Definition at line 4313 of file http.cc.

int HTTPProtocol::readChunked (  )  [protected]

Read a chunk from the data stream.

Definition at line 4100 of file http.cc.

bool HTTPProtocol::readHeader (  )  [protected]

This function will read in the return header from the server.

It will not read in the body of the return message. It will also not transmit the header to our client as the client doesn't need to know the gory details of HTTP headers.

Definition at line 2662 of file http.cc.

int HTTPProtocol::readLimited (  )  [protected]

Definition at line 4171 of file http.cc.

int HTTPProtocol::readUnlimited (  )  [protected]

Definition at line 4195 of file http.cc.

void HTTPProtocol::rename ( const KURL &  src,
const KURL &  dest,
bool  overwrite 
) [virtual]

Definition at line 1350 of file http.cc.

void HTTPProtocol::reparseConfiguration (  )  [virtual]

Definition at line 231 of file http.cc.

void HTTPProtocol::resetConnectionSettings (  )  [protected]

Resets any per connection settings.

These are different from per-session settings in that they must be invalidates every time a request is made, e.g. a retry to re-send the header to the server, as compared to only when a new request arrives.

Definition at line 248 of file http.cc.

void HTTPProtocol::resetResponseSettings (  )  [protected]

Resets settings related to parsing a response.

Definition at line 259 of file http.cc.

void HTTPProtocol::resetSessionSettings (  )  [protected]

Resets any per session settings.

Definition at line 275 of file http.cc.

void HTTPProtocol::retrieveContent ( bool  dataInternal = false  )  [protected]

Performs a GET HTTP request.

Definition at line 494 of file http.cc.

bool HTTPProtocol::retrieveHeader ( bool  close_connection = true  )  [protected]

Performs a HEAD HTTP request.

Definition at line 522 of file http.cc.

bool HTTPProtocol::retryPrompt (  )  [protected]

Prompts the user for authorization retry.

Definition at line 5141 of file http.cc.

void HTTPProtocol::rewind (  )  [protected]

Definition at line 1912 of file http.cc.

void HTTPProtocol::saveAuthorization (  )  [protected]

Saves valid authorization info in the cache daemon.

Definition at line 5424 of file http.cc.

bool HTTPProtocol::sendBody (  )  [protected]

Definition at line 3879 of file http.cc.

void HTTPProtocol::setHost ( const QString &  host,
int  port,
const QString &  user,
const QString &  pass 
) [virtual]

Definition at line 426 of file http.cc.

void HTTPProtocol::setRewindMarker (  )  [protected]

Definition at line 1907 of file http.cc.

void HTTPProtocol::slave_status (  )  [virtual]

Definition at line 4007 of file http.cc.

void HTTPProtocol::slotData ( const QByteArray &  _d  )  [protected, slot]

Definition at line 4215 of file http.cc.

void HTTPProtocol::special ( const QByteArray &  data  )  [virtual]

Special commands supported by this slave : 1 - HTTP POST 2 - Cache has been updated 3 - SSL Certificate Cache has been updated 4 - HTTP multi get 5 - DAV LOCK (see 6 - DAV UNLOCK README.webdav).

Definition at line 4037 of file http.cc.

void HTTPProtocol::stat ( const KURL &  url  )  [virtual]

Definition at line 600 of file http.cc.

void HTTPProtocol::updateExpireDate ( time_t  expireDate,
bool  updateCreationDate = false 
) [protected]

Update expire time of current cache entry.

Definition at line 4810 of file http.cc.

ssize_t HTTPProtocol::write ( const void *  buf,
size_t  nbytes 
) [protected]

A "smart" wrapper around write that will use SSL_write or write(2) depending on whether you've got an SSL connection or not.

The only shortcomming is that it uses the "global" file handles and soforth. So you can't really use this on individual files/sockets.

Definition at line 1879 of file http.cc.

void HTTPProtocol::writeCacheEntry ( const char *  buffer,
int  nbytes 
) [protected]

Write data to cache.

Write 'nbytes' from 'buffer' to the Cache Entry File

Definition at line 4927 of file http.cc.


Member Data Documentation

HTTP_AUTH HTTPProtocol::Authentication [protected]

Definition at line 546 of file http.h.

bool HTTPProtocol::m_bBusy [protected]

Definition at line 473 of file http.h.

bool HTTPProtocol::m_bChunked [protected]

Definition at line 483 of file http.h.

bool HTTPProtocol::m_bEOD [protected]

Definition at line 475 of file http.h.

bool HTTPProtocol::m_bEOF [protected]

Definition at line 474 of file http.h.

bool HTTPProtocol::m_bError [protected]

Definition at line 564 of file http.h.

bool HTTPProtocol::m_bFirstRequest [protected]

Definition at line 553 of file http.h.

bool HTTPProtocol::m_bIsTunneled [protected]

Definition at line 533 of file http.h.

bool HTTPProtocol::m_bKeepAlive [protected]

Definition at line 556 of file http.h.

bool HTTPProtocol::m_bNeedTunnel [protected]

Definition at line 532 of file http.h.

bool HTTPProtocol::m_bPersistentProxyConnection [protected]

Definition at line 560 of file http.h.

bool HTTPProtocol::m_bProxyAuthValid [protected]

Definition at line 534 of file http.h.

bool HTTPProtocol::m_bRedirect [protected]

Definition at line 480 of file http.h.

QByteArray HTTPProtocol::m_bufPOST [protected]

Definition at line 521 of file http.h.

QByteArray HTTPProtocol::m_bufReceive [protected]

Definition at line 487 of file http.h.

QByteArray HTTPProtocol::m_bufWebDavData [protected]

Definition at line 511 of file http.h.

bool HTTPProtocol::m_bUnauthorized [protected]

Definition at line 548 of file http.h.

bool HTTPProtocol::m_bUseProxy [protected]

Definition at line 531 of file http.h.

bool HTTPProtocol::m_cpMimeBuffer [protected]

Definition at line 499 of file http.h.

bool HTTPProtocol::m_dataInternal [protected]

Definition at line 488 of file http.h.

QStringList HTTPProtocol::m_davCapabilities [protected]

Definition at line 512 of file http.h.

bool HTTPProtocol::m_davHostOk [protected]

Definition at line 514 of file http.h.

bool HTTPProtocol::m_davHostUnsupported [protected]

Definition at line 515 of file http.h.

KIO::filesize_t HTTPProtocol::m_iBytesLeft [protected]

Definition at line 485 of file http.h.

KIO::filesize_t HTTPProtocol::m_iContentLeft [protected]

Definition at line 486 of file http.h.

short unsigned int HTTPProtocol::m_iProxyAuthCount [protected]

Definition at line 549 of file http.h.

int HTTPProtocol::m_iProxyPort [protected]

Definition at line 535 of file http.h.

KIO::filesize_t HTTPProtocol::m_iSize [protected]

Definition at line 484 of file http.h.

short unsigned int HTTPProtocol::m_iWWWAuthCount [protected]

Definition at line 550 of file http.h.

int HTTPProtocol::m_keepAliveTimeout [protected]

Definition at line 557 of file http.h.

char HTTPProtocol::m_lineBuf[1024] [protected]

Definition at line 489 of file http.h.

char* HTTPProtocol::m_lineBufUnget [protected]

Definition at line 494 of file http.h.

size_t HTTPProtocol::m_lineCount [protected]

Definition at line 493 of file http.h.

size_t HTTPProtocol::m_lineCountUnget [protected]

Definition at line 496 of file http.h.

char* HTTPProtocol::m_linePtr [protected]

Definition at line 492 of file http.h.

char* HTTPProtocol::m_linePtrUnget [protected]

Definition at line 495 of file http.h.

int HTTPProtocol::m_maxCacheAge [protected]

Definition at line 524 of file http.h.

long HTTPProtocol::m_maxCacheSize [protected]

Definition at line 525 of file http.h.

QByteArray HTTPProtocol::m_mimeTypeBuffer [protected]

Definition at line 500 of file http.h.

int HTTPProtocol::m_pid [protected]

Definition at line 575 of file http.h.

unsigned int HTTPProtocol::m_prevResponseCode [protected]

Definition at line 568 of file http.h.

QCString HTTPProtocol::m_protocol [protected]

Definition at line 540 of file http.h.

int HTTPProtocol::m_proxyConnTimeout [protected]

Definition at line 571 of file http.h.

KURL HTTPProtocol::m_proxyURL [protected]

Definition at line 536 of file http.h.

QStringList HTTPProtocol::m_qContentEncodings [protected]

Definition at line 504 of file http.h.

QStringList HTTPProtocol::m_qTransferEncodings [protected]

Definition at line 503 of file http.h.

KURL HTTPProtocol::m_redirectLocation [protected]

Definition at line 479 of file http.h.

int HTTPProtocol::m_remoteConnTimeout [protected]

Definition at line 572 of file http.h.

int HTTPProtocol::m_remoteRespTimeout [protected]

Definition at line 573 of file http.h.

HTTPRequest HTTPProtocol::m_request [protected]

Definition at line 470 of file http.h.

QPtrList<HTTPRequest> HTTPProtocol::m_requestQueue [protected]

Definition at line 471 of file http.h.

unsigned int HTTPProtocol::m_responseCode [protected]

Definition at line 567 of file http.h.

QStringList HTTPProtocol::m_responseHeader [protected]

Definition at line 478 of file http.h.

char HTTPProtocol::m_rewindBuf[8192] [protected]

Definition at line 490 of file http.h.

size_t HTTPProtocol::m_rewindCount [protected]

Definition at line 491 of file http.h.

QString HTTPProtocol::m_sContentMD5 [protected]

Definition at line 505 of file http.h.

HTTPState HTTPProtocol::m_state [protected]

Definition at line 469 of file http.h.

QString HTTPProtocol::m_strAuthorization [protected]

Definition at line 544 of file http.h.

QString HTTPProtocol::m_strCacheDir [protected]

Definition at line 526 of file http.h.

QString HTTPProtocol::m_strMimeType [protected]

Definition at line 506 of file http.h.

QString HTTPProtocol::m_strProxyAuthorization [protected]

Definition at line 545 of file http.h.

QString HTTPProtocol::m_strProxyRealm [protected]

Definition at line 537 of file http.h.

QString HTTPProtocol::m_strRealm [protected]

Definition at line 543 of file http.h.

HTTP_AUTH HTTPProtocol::ProxyAuthentication [protected]

Definition at line 547 of file http.h.


The documentation for this class was generated from the following files:
  • http.h
  • http.cc

kioslave

Skip menu "kioslave"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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