Linux repositories inspector

ne_status(3)

neon 0.30.2
30 September 2016

libneon27-dev

Header and static library files for libneon27

libneon27-gnutls-dev

Header and static library files for libneon27 (GnuTLS enabled)

neon-devel

Development libraries and C header files for the neon library

neon

HTTP and WebDAV client library with a C interface

libneon-devel

An HTTP and WebDAV Client Library

NAME

ne_status - HTTP status structure

SYNOPSIS


#include <ne_utils.h>

typedef struct { int major_version, minor_version; int code, klass; const char *reason_phrase; } ne_status;

DESCRIPTION

An ne_status type represents an HTTP response status; used in response messages giving a result of request. The major_version and minor_version fields give the HTTP version supported by the server issuing the response. The code field gives the status code of the result (lying between 100 and 999 inclusive), and the klass field gives the class[1], which is equal to the most significant digit of the status.
There are five classes of HTTP status code defined by RFC2616:
1xx
Informational response.
2xx
Success: the operation was successful
3xx
Redirection
4xx
Client error: the request made was incorrect in some manner.
5xx
Server error

SEE ALSO

ne_get_status.

AUTHOR

Joe Orton <>
Author.

NOTES

1. the field is named \(lqklass\(rq not \(lqclass\(rq so that the header can be used from a C++ program, in which \(lqclass\(rq is a reserved word)
⇧ Top