CPLHTTPResult Struct Reference

#include <cpl_http.h>

List of all members.

Public Attributes

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


Detailed Description

Describe the result of a CPLHTTPFetch() call

Member Data Documentation

Length of the pabyData buffer

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

Number of parts in a multipart message

Referenced by CPLHTTPParseMultipartMime().

HTTP status code : 200=success, value < 0 if request failed

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

Array of parts (resolved by CPLHTTPParseMultipartMime())

Referenced by CPLHTTPParseMultipartMime().

Content-Type of the response

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

Error message from curl, or NULL

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


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

Generated for GDAL by doxygen 1.5.7.1.