http_header_info Struct Reference

#include <http_common.h>


Data Fields

bs_uint32 http_code
apr_time_t date
char * user_agent
char * server
bs_uint64 content_length
char * content_type
bs_uint32 content_offset


Detailed Description

Convenience structure that holds all kinds of HTTP header info.

Definition at line 46 of file http_common.h.


Field Documentation

bs_uint32 http_header_info::http_code

The HTTP response code (200 for success).

Definition at line 47 of file http_common.h.

Referenced by extract_http_header_info().

apr_time_t http_header_info::date

The date of the headers.

Definition at line 48 of file http_common.h.

char* http_header_info::user_agent

The user-agent involved.

Definition at line 49 of file http_common.h.

Referenced by extract_http_header_info().

char* http_header_info::server

Server string

Definition at line 50 of file http_common.h.

bs_uint64 http_header_info::content_length

The length in bytes of the content.

Definition at line 52 of file http_common.h.

Referenced by check_for_http_errors(), extract_http_header_info(), handle_http_post(), parse_http_headers(), and receive_response().

char* http_header_info::content_type

A string describing the content type (ie. text/html)

Definition at line 53 of file http_common.h.

Referenced by check_for_http_errors(), and extract_http_header_info().

bs_uint32 http_header_info::content_offset

The offset of the real data from the start of the buffer

Definition at line 54 of file http_common.h.

Referenced by handle_http_post(), parse_http_headers(), and receive_response().


The documentation for this struct was generated from the following file:
Generated on Tue Jul 17 09:51:41 2007 for Bio-SPHERE by  doxygen 1.5.1