|  | Home · Overviews · Examples |

# QHttpRequestHeader Class Reference
[com.trolltech.qt.network module]

The `QHttpRequestHeader` class contains request header information for HTTP. More...

Inherits `QHttpHeader`.

## Detailed Description

The `QHttpRequestHeader` class contains request header information for HTTP.

This class is used in the `QHttp` class to report the header information if the client requests something from the server.

HTTP requests have a method which describes the request's action. The most common requests are "GET" and "POST". In addition to the request method the header also includes a request-URI to specify the location for the method to use.

The method, request-URI and protocol-version can be set using a constructor or later using `setRequest`. The values can be obtained using `method`, `path`, `majorVersion` and `minorVersion`.

Important inherited functions: `setValue` and `value`.

See also `QHttpResponseHeader` and `QHttp`.