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

KIOSlave

HTTPProtocol Class Reference

#include <http.h>

Inheritance diagram for HTTPProtocol:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 53 of file http.h.


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, KIO::JobFlags flags)
QString davError (int code=-1, const QString &url=QString())
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 QByteArray &protocol, const QByteArray &pool, const QByteArray &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 _mode, KIO::JobFlags flags)
virtual void rename (const KUrl &src, const KUrl &dest, KIO::JobFlags flags)
virtual void reparseConfiguration ()
virtual void setHost (const QString &host, quint16 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 proxyAuthenticationForSocket (const QNetworkProxy &, QAuthenticator *)
void saveProxyAuthenticationForSocket ()
void slotData (const QByteArray &)

Protected Member Functions

void addCookies (const QString &url, const QByteArray &cookieHeader)
void addEncoding (const QString &, QStringList &)
void calculateResponse (DigestAuthInfo &info, QByteArray &Response)
gzFile 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 QByteArray &requestXML)
void davStatList (const KUrl &url, bool stat=true)
QString findCookies (const QString &url)
void forwardHttpResponseHeader ()
bool getAuthorization ()
char * gets (char *str, int size)
QByteArray gssError (int major_status, int minor_status)
void httpClose (bool keepAlive)
void httpCloseConnection ()
bool httpOpenConnection ()
bool httpShouldCloseConnection ()
void parseContentDisposition (const QString &disposition)
long parseDateTime (const QString &input, const QString &type)
void proceedUntilResponseContent (bool dataInternal=false)
bool proceedUntilResponseHeader ()
void promptInfo (KIO::AuthInfo &info)
QString proxyAuthenticationHeader ()
ssize_t read (void *b, size_t nbytes)
bool readBody (bool dataInternal=false)
int readChunked ()
bool readHeaderFromCache ()
int readLimited ()
bool readResponseHeader ()
int readUnlimited ()
void resetConnectionSettings ()
void resetResponseSettings ()
void resetSessionSettings ()
bool retryPrompt ()
void rewind ()
void saveAuthorization (bool isForProxy)
bool sendBody ()
bool sendQuery ()
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
quint16 m_defaultPort
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
unsigned int m_prevResponseCode
QByteArray m_protocol
KUrl m_proxyURL
QStringList m_qContentEncodings
QStringList m_qTransferEncodings
int m_remoteRespTimeout
HTTPRequest m_request
QList< HTTPRequest * > m_requestQueue
unsigned int m_responseCode
QStringList m_responseHeaders
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

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...

Member Enumeration Documentation

enum HTTPProtocol::HTTP_AUTH

Authorization method used.

Enumerator:
AUTH_None 
AUTH_Basic 
AUTH_NTLM 
AUTH_Digest 
AUTH_Negotiate 

Definition at line 65 of file http.h.

enum HTTPProtocol::HTTP_REV

HTTP version.

Enumerator:
HTTP_None 
HTTP_Unknown 
HTTP_10 
HTTP_11 
SHOUTCAST 

Definition at line 62 of file http.h.


Constructor & Destructor Documentation

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

Definition at line 198 of file http.cpp.

HTTPProtocol::~HTTPProtocol (  )  [virtual]

Definition at line 218 of file http.cpp.


Member Function Documentation

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

Send a cookie to the cookiejar.

Definition at line 4452 of file http.cpp.

void HTTPProtocol::addEncoding ( const 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 3745 of file http.cpp.

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

Definition at line 4477 of file http.cpp.

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

Calcualtes the message digest response based on RFC 2617.

Definition at line 5543 of file http.cpp.

gzFile 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 4508 of file http.cpp.

bool HTTPProtocol::checkRequestUrl ( const KUrl &  u  ) 

Definition at line 456 of file http.cpp.

void HTTPProtocol::cleanCache (  )  [protected]

Quick check whether the cache needs cleaning.

Definition at line 4841 of file http.cpp.

void HTTPProtocol::closeCacheEntry (  )  [protected]

Close cache entry.

Definition at line 4816 of file http.cpp.

void HTTPProtocol::closeConnection (  )  [virtual]

Reimplemented from KIO::SlaveBase.

Definition at line 3880 of file http.cpp.

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

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

Definition at line 803 of file http.cpp.

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

Definition at line 4881 of file http.cpp.

void HTTPProtocol::copy ( const KUrl &  src,
const KUrl &  dest,
int  _permissions,
KIO::JobFlags  flags 
) [virtual]

Definition at line 1273 of file http.cpp.

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

Creates the entity-header for Basic authentication.

Definition at line 5513 of file http.cpp.

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 4729 of file http.cpp.

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

Creates the entity-header for Digest authentication.

Definition at line 5608 of file http.cpp.

QString HTTPProtocol::createNegotiateAuth (  )  [protected]

Creates the entity-header for Negotiate authentication.

Definition at line 5450 of file http.cpp.

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

Creates the entity-header for NTLM authentication.

Definition at line 5456 of file http.cpp.

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

Definition at line 1465 of file http.cpp.

void HTTPProtocol::davFinished (  ) 

Definition at line 1156 of file http.cpp.

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

Definition at line 782 of file http.cpp.

bool HTTPProtocol::davHostOk (  ) 

Definition at line 1101 of file http.cpp.

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

Definition at line 1377 of file http.cpp.

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

Definition at line 988 of file http.cpp.

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

Definition at line 810 of file http.cpp.

QString HTTPProtocol::davProcessLocks (  )  [protected]

Extracts locks from metadata Returns the appropriate If: header.

Definition at line 1052 of file http.cpp.

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

Performs a WebDAV stat or list.

Definition at line 635 of file http.cpp.

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

Definition at line 641 of file http.cpp.

void HTTPProtocol::davUnlock ( const KUrl &  url  ) 

Definition at line 1443 of file http.cpp.

void HTTPProtocol::del ( const KUrl &  url,
bool  _isfile 
) [virtual]

Reimplemented from KIO::SlaveBase.

Definition at line 1336 of file http.cpp.

void HTTPProtocol::error ( int  errid,
const QString &  text 
) [protected, slot]

Reimplemented from KIO::SlaveBase.

Definition at line 4430 of file http.cpp.

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

Look for cookies in the cookiejar.

Definition at line 4460 of file http.cpp.

void HTTPProtocol::forwardHttpResponseHeader (  )  [protected]

Definition at line 2533 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 1185 of file http.cpp.

bool HTTPProtocol::getAuthorization (  )  [protected]

Retrieves authorization info from cache or user.

Definition at line 5075 of file http.cpp.

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

Definition at line 1851 of file http.cpp.

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

create GSS error string

Definition at line 5444 of file http.cpp.

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

Definition at line 3842 of file http.cpp.

void HTTPProtocol::httpCloseConnection (  )  [protected]

Definition at line 3886 of file http.cpp.

void HTTPProtocol::httpError (  ) 

Definition at line 1670 of file http.cpp.

bool HTTPProtocol::httpOpenConnection (  )  [protected]

Definition at line 1957 of file http.cpp.

bool HTTPProtocol::httpShouldCloseConnection (  )  [protected]

Definition at line 1923 of file http.cpp.

bool HTTPProtocol::isOffline ( const KUrl &  url  ) 

Definition at line 1732 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 624 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 3905 of file http.cpp.

void HTTPProtocol::mkdir ( const KUrl &  url,
int  _permissions 
) [virtual]

Reimplemented from KIO::SlaveBase.

Definition at line 1163 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 1751 of file http.cpp.

void HTTPProtocol::parseContentDisposition ( const QString &  disposition  )  [protected]

Definition at line 3712 of file http.cpp.

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

Parses a date & time string.

Definition at line 1033 of file http.cpp.

void HTTPProtocol::post ( const KUrl &  url  ) 

Definition at line 1360 of file http.cpp.

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

Do everything proceedUntilResponseHeader does, and also get the response body.

This is being used as a replacement for proceedUntilResponseHeader() in situations where we actually expect the response to have a body / payload data.

Definition at line 490 of file http.cpp.

bool HTTPProtocol::proceedUntilResponseHeader (  )  [protected]

Ensure we are connected, send our query, and get the response header.

Definition at line 518 of file http.cpp.

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

Creates authorization prompt info.

Definition at line 5036 of file http.cpp.

void HTTPProtocol::proxyAuthenticationForSocket ( const QNetworkProxy &  proxy,
QAuthenticator *  authenticator 
) [protected, slot]

Definition at line 5963 of file http.cpp.

QString HTTPProtocol::proxyAuthenticationHeader (  )  [protected]

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

Definition at line 5881 of file http.cpp.

void HTTPProtocol::put ( const KUrl &  url,
int  _mode,
KIO::JobFlags  flags 
) [virtual]

Definition at line 1210 of file http.cpp.

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 1880 of file http.cpp.

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 'sendQuery()' (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 4191 of file http.cpp.

int HTTPProtocol::readChunked (  )  [protected]

Read a chunk from the data stream.

Definition at line 3989 of file http.cpp.

bool HTTPProtocol::readHeaderFromCache (  )  [protected]

Definition at line 2543 of file http.cpp.

int HTTPProtocol::readLimited (  )  [protected]

Definition at line 4058 of file http.cpp.

bool HTTPProtocol::readResponseHeader (  )  [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 2616 of file http.cpp.

int HTTPProtocol::readUnlimited (  )  [protected]

Definition at line 4082 of file http.cpp.

void HTTPProtocol::rename ( const KUrl &  src,
const KUrl &  dest,
KIO::JobFlags  flags 
) [virtual]

Definition at line 1305 of file http.cpp.

void HTTPProtocol::reparseConfiguration (  )  [virtual]

Reimplemented from KIO::SlaveBase.

Definition at line 225 of file http.cpp.

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 242 of file http.cpp.

void HTTPProtocol::resetResponseSettings (  )  [protected]

Resets settings related to parsing a response.

Definition at line 253 of file http.cpp.

void HTTPProtocol::resetSessionSettings (  )  [protected]

Resets any per session settings.

Definition at line 268 of file http.cpp.

bool HTTPProtocol::retryPrompt (  )  [protected]

Prompts the user for authorization retry.

Definition at line 5018 of file http.cpp.

void HTTPProtocol::rewind (  )  [protected]

Definition at line 1843 of file http.cpp.

void HTTPProtocol::saveAuthorization ( bool  isForProxy  )  [protected]

Saves valid authorization info in the cache daemon.

Definition at line 5298 of file http.cpp.

void HTTPProtocol::saveProxyAuthenticationForSocket (  )  [protected, slot]

Definition at line 5999 of file http.cpp.

bool HTTPProtocol::sendBody (  )  [protected]

Definition at line 3771 of file http.cpp.

bool HTTPProtocol::sendQuery (  )  [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' as this method used to be called.

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 4) Call sendBody() if the HTTP method requires sending body data

Definition at line 2003 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 423 of file http.cpp.

void HTTPProtocol::setRewindMarker (  )  [protected]

Definition at line 1838 of file http.cpp.

void HTTPProtocol::slave_status (  )  [virtual]

Reimplemented from KIO::SlaveBase.

Definition at line 3895 of file http.cpp.

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

Definition at line 4101 of file http.cpp.

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).

Reimplemented from KIO::SlaveBase.

Definition at line 3926 of file http.cpp.

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

Reimplemented from KIO::SlaveBase.

Definition at line 592 of file http.cpp.

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

Update expire time of current cache entry.

Definition at line 4671 of file http.cpp.

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 1819 of file http.cpp.

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 4789 of file http.cpp.


Member Data Documentation

HTTP_AUTH HTTPProtocol::Authentication [protected]

Definition at line 567 of file http.h.

bool HTTPProtocol::m_bBusy [protected]

Definition at line 506 of file http.h.

bool HTTPProtocol::m_bChunked [protected]

Definition at line 504 of file http.h.

bool HTTPProtocol::m_bEOD [protected]

Definition at line 508 of file http.h.

bool HTTPProtocol::m_bEOF [protected]

Definition at line 507 of file http.h.

bool HTTPProtocol::m_bError [protected]

Definition at line 578 of file http.h.

bool HTTPProtocol::m_bFirstRequest [protected]

Definition at line 511 of file http.h.

bool HTTPProtocol::m_bIsTunneled [protected]

Definition at line 554 of file http.h.

bool HTTPProtocol::m_bKeepAlive [protected]

Definition at line 581 of file http.h.

bool HTTPProtocol::m_bNeedTunnel [protected]

Definition at line 553 of file http.h.

bool HTTPProtocol::m_bPersistentProxyConnection [protected]

Definition at line 574 of file http.h.

bool HTTPProtocol::m_bProxyAuthValid [protected]

Definition at line 555 of file http.h.

bool HTTPProtocol::m_bRedirect [protected]

Definition at line 514 of file http.h.

QByteArray HTTPProtocol::m_bufPOST [protected]

Definition at line 542 of file http.h.

QByteArray HTTPProtocol::m_bufReceive [protected]

Definition at line 494 of file http.h.

QByteArray HTTPProtocol::m_bufWebDavData [protected]

Definition at line 527 of file http.h.

bool HTTPProtocol::m_bUnauthorized [protected]

Definition at line 571 of file http.h.

bool HTTPProtocol::m_bUseProxy [protected]

Definition at line 552 of file http.h.

bool HTTPProtocol::m_cpMimeBuffer [protected]

Definition at line 535 of file http.h.

bool HTTPProtocol::m_dataInternal [protected]

Definition at line 503 of file http.h.

QStringList HTTPProtocol::m_davCapabilities [protected]

Definition at line 528 of file http.h.

bool HTTPProtocol::m_davHostOk [protected]

Definition at line 530 of file http.h.

bool HTTPProtocol::m_davHostUnsupported [protected]

Definition at line 531 of file http.h.

quint16 HTTPProtocol::m_defaultPort [protected]

Definition at line 488 of file http.h.

KIO::filesize_t HTTPProtocol::m_iBytesLeft [protected]

Definition at line 492 of file http.h.

KIO::filesize_t HTTPProtocol::m_iContentLeft [protected]

Definition at line 493 of file http.h.

short unsigned int HTTPProtocol::m_iProxyAuthCount [protected]

Definition at line 569 of file http.h.

int HTTPProtocol::m_iProxyPort [protected]

Definition at line 556 of file http.h.

KIO::filesize_t HTTPProtocol::m_iSize [protected]

Definition at line 491 of file http.h.

short unsigned int HTTPProtocol::m_iWWWAuthCount [protected]

Definition at line 570 of file http.h.

int HTTPProtocol::m_keepAliveTimeout [protected]

Definition at line 582 of file http.h.

char HTTPProtocol::m_lineBuf[1024] [protected]

Definition at line 495 of file http.h.

char* HTTPProtocol::m_lineBufUnget [protected]

Definition at line 501 of file http.h.

size_t HTTPProtocol::m_lineCount [protected]

Definition at line 498 of file http.h.

size_t HTTPProtocol::m_lineCountUnget [protected]

Definition at line 499 of file http.h.

char* HTTPProtocol::m_linePtr [protected]

Definition at line 500 of file http.h.

char* HTTPProtocol::m_linePtrUnget [protected]

Definition at line 502 of file http.h.

int HTTPProtocol::m_maxCacheAge [protected]

Definition at line 545 of file http.h.

long HTTPProtocol::m_maxCacheSize [protected]

Definition at line 546 of file http.h.

QByteArray HTTPProtocol::m_mimeTypeBuffer [protected]

Definition at line 536 of file http.h.

unsigned int HTTPProtocol::m_prevResponseCode [protected]

Definition at line 586 of file http.h.

QByteArray HTTPProtocol::m_protocol [protected]

Definition at line 561 of file http.h.

KUrl HTTPProtocol::m_proxyURL [protected]

Definition at line 557 of file http.h.

QStringList HTTPProtocol::m_qContentEncodings [protected]

Definition at line 520 of file http.h.

QStringList HTTPProtocol::m_qTransferEncodings [protected]

Definition at line 519 of file http.h.

int HTTPProtocol::m_remoteRespTimeout [protected]

Definition at line 589 of file http.h.

HTTPRequest HTTPProtocol::m_request [protected]

Definition at line 486 of file http.h.

QList<HTTPRequest*> HTTPProtocol::m_requestQueue [protected]

Definition at line 487 of file http.h.

unsigned int HTTPProtocol::m_responseCode [protected]

Definition at line 585 of file http.h.

QStringList HTTPProtocol::m_responseHeaders [protected]

Definition at line 515 of file http.h.

char HTTPProtocol::m_rewindBuf[8192] [protected]

Definition at line 496 of file http.h.

size_t HTTPProtocol::m_rewindCount [protected]

Definition at line 497 of file http.h.

QString HTTPProtocol::m_sContentMD5 [protected]

Definition at line 521 of file http.h.

HTTPState HTTPProtocol::m_state [protected]

Definition at line 485 of file http.h.

QString HTTPProtocol::m_strAuthorization [protected]

Definition at line 565 of file http.h.

QString HTTPProtocol::m_strCacheDir [protected]

Definition at line 547 of file http.h.

QString HTTPProtocol::m_strMimeType [protected]

Definition at line 522 of file http.h.

QString HTTPProtocol::m_strProxyAuthorization [protected]

Definition at line 566 of file http.h.

QString HTTPProtocol::m_strProxyRealm [protected]

Definition at line 558 of file http.h.

QString HTTPProtocol::m_strRealm [protected]

Definition at line 564 of file http.h.

HTTP_AUTH HTTPProtocol::ProxyAuthentication [protected]

Definition at line 568 of file http.h.


The documentation for this class was generated from the following files:
  • http.h
  • 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
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.6
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