OGR
Public Attributes | List of all members
CPLHTTPResult Struct Reference

#include <cpl_http.h>

Public Attributes

int nStatus
 
char * pszContentType
 
char * pszErrBuf
 
int nDataLen
 
int nDataAlloc
 
GBytepabyData
 
char ** papszHeaders
 
int nMimePartCount
 
CPLMimePartpasMimePart
 

Detailed Description

Describe the result of a CPLHTTPFetch() call

Member Data Documentation

int CPLHTTPResult::nDataAlloc

Allocated size of the pabyData buffer

Referenced by CPLHTTPFetch().

int CPLHTTPResult::nDataLen

Length of the pabyData buffer

Referenced by CPLHTTPFetch(), CPLHTTPParseMultipartMime(), and OGRSpatialReference::importFromUrl().

int CPLHTTPResult::nMimePartCount

Number of parts in a multipart message

Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().

int CPLHTTPResult::nStatus

cURL error code : 0=success, non-zero if request failed

Referenced by CPLHTTPFetch(), and OGRSpatialReference::importFromUrl().

GByte* CPLHTTPResult::pabyData
char** CPLHTTPResult::papszHeaders

Headers returned

Referenced by CPLHTTPDestroyResult(), and CPLHTTPFetch().

CPLMimePart* CPLHTTPResult::pasMimePart

Array of parts (resolved by CPLHTTPParseMultipartMime())

Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().

char* CPLHTTPResult::pszContentType

Content-Type of the response

Referenced by CPLHTTPDestroyResult(), CPLHTTPFetch(), and CPLHTTPParseMultipartMime().

char* CPLHTTPResult::pszErrBuf

The documentation for this struct was generated from the following file:

Generated for GDAL by doxygen 1.8.5.