Public Attributes

CPLHTTPResult Struct Reference

#include <cpl_http.h>

List of all members.

Public Attributes

int nStatus
char * pszContentType
char * pszErrBuf
int nDataLen
GByte * pabyData
char ** papszHeaders
int nMimePartCount

Detailed Description

Describe the result of a CPLHTTPFetch() call

Member Data Documentation

Length of the pabyData buffer

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

Number of parts in a multipart message

Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().

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

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

Headers returned

Referenced by CPLHTTPDestroyResult(), and CPLHTTPFetch().

Array of parts (resolved by CPLHTTPParseMultipartMime())

Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().

Content-Type of the response

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

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

Generated for GDAL by doxygen 1.7.1.