head	1.1;
branch	1.1.1;
access;
symbols
	tonic_4:1.1.1.1
	tonic_3:1.1.1.1
	tonic_2:1.1.1.1
	demo:1.1.1.1.0.8
	design_report:1.1.1.1
	dec2:1.1.1.1
	oral_presentation_freeze:1.1.1.1.0.6
	DAVEG_CDP:1.1.1.1.0.4
	template_integ:1.1.1.1.0.2
	v1_1:1.1.1.1
	course_staff:1.1.1;
locks; strict;
comment	@ * @;


1.1
date	95.11.19.17.28.08;	author hartmans;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.11.19.17.28.09;	author hartmans;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#ifndef _ERROR_RESPONSE_H
#define _ERROR_RESPONSE_H

#include "ps5/http_response.h"

class error_response : public http_response {
    // An "error_response" represents one of the possible error conditions
    // that can be returned by a server. Its content-type is "text/html".
public:
    error_response(int error_code, string message);

    // overridden methods
    virtual int code();
    virtual void body(ostream &o);
    virtual bool body_length(int &len);
protected:
    int error_code;
    string error_message;
};

#endif /* _ERROR_RESPONSE_H */
@


1.1.1.1
log
@Import web include files into our tre.

@
text
@@
