ne_status man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

NE_STATUS(3)		      neon API reference		  NE_STATUS(3)

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 <neon@lists.manyfish.co.uk>
	   Author.

COPYRIGHT
NOTES
	1. the field is named “klass” not “class” so that the header can be
	   used from a C++ program, in which “class” is a reserved word)

neon 0.29.3			11 January 2010			  NE_STATUS(3)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net