1QHttpResponseHeader(3qt)                              QHttpResponseHeader(3qt)
2
3
4

NAME

6       QHttpResponseHeader - Response header information for HTTP
7

SYNOPSIS

9       #include <qhttp.h>
10
11       Inherits QHttpHeader.
12
13   Public Members
14       QHttpResponseHeader ()
15       QHttpResponseHeader ( const QHttpResponseHeader & header )
16       int statusCode () const
17       QString reasonPhrase () const
18       virtual int majorVersion () const
19       virtual int minorVersion () const
20

DESCRIPTION

22       The QHttpResponseHeader class contains response header information for
23       HTTP.
24
25       This class is used by the QHttp class to report the header information
26       that the client received from the server.
27
28       HTTP responses have a status code that indicates the status of the
29       response. This code is a 3-digit integer result code (for details see
30       to RFC 1945). In addition to the status code, you can also specify a
31       human-readable text that describes the reason for the code ("reason
32       phrase"). This class allows you to get the status code and the reason
33       phrase.
34
35       See also QHttpRequestHeader, QHttp, and Input/Output and Networking.
36

MEMBER FUNCTION DOCUMENTATION

QHttpResponseHeader::QHttpResponseHeader ()

39       Constructs an empty HTTP response header.
40

QHttpResponseHeader::QHttpResponseHeader ( const QHttpResponseHeader & header

42       )
43       Constructs a copy of header.
44

int QHttpResponseHeader::majorVersion () const [virtual]

46       Returns the major protocol-version of the HTTP response header.
47
48       See also minorVersion(), statusCode(), and reasonPhrase().
49
50       Reimplemented from QHttpHeader.
51

int QHttpResponseHeader::minorVersion () const [virtual]

53       Returns the minor protocol-version of the HTTP response header.
54
55       See also majorVersion(), statusCode(), and reasonPhrase().
56
57       Reimplemented from QHttpHeader.
58

QString QHttpResponseHeader::reasonPhrase () const

60       Returns the reason phrase of the HTTP response header.
61
62       See also statusCode(), majorVersion(), and minorVersion().
63

int QHttpResponseHeader::statusCode () const

65       Returns the status code of the HTTP response header.
66
67       See also reasonPhrase(), majorVersion(), and minorVersion().
68
69

SEE ALSO

71       http://doc.trolltech.com/qhttpresponseheader.html
72       http://www.trolltech.com/faq/tech.html
73
75       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
76       license file included in the distribution for a complete license
77       statement.
78

AUTHOR

80       Generated automatically from the source code.
81

BUGS

83       If you find a bug in Qt, please report it as described in
84       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
85       help you. Thank you.
86
87       The definitive Qt documentation is provided in HTML format; it is
88       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
89       web browser. This man page is provided as a convenience for those users
90       who prefer man pages, although this format is not officially supported
91       by Trolltech.
92
93       If you find errors in this manual page, please report them to qt-
94       bugs@trolltech.com.  Please include the name of the manual page
95       (qhttpresponseheader.3qt) and the Qt version (3.3.8).
96
97
98
99Trolltech AS                    2 February 2007       QHttpResponseHeader(3qt)
Impressum