head	1.2;
access;
symbols
	tonic_4:1.2
	tonic_3:1.2
	tonic_2:1.2
	demo:1.2.0.2
	design_report:1.2
	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.2
date	95.12.02.05.59.09;	author hartmans;	state Exp;
branches;
next	1.1;

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.2
log
@Random changes.
@
text
@#ifndef _NORMAL_RESPONSE_H
#define _NORMAL_RESPONSE_H

#include "ps5/http_response.h"

class normal_response : public http_response {
    // An "normal_response" represents an HTTP/1.0 response that is
    // a page of text, i.e. of type "text/html" or "text/plain".
public:
    normal_response(bool html);
	// create a new "normal_response" that is an HTML response if
	// "html" is true, else it is a plain text response.
    virtual void body(ostream &o);
	// inherited: return a short default message string that depends
	//            on whether this is an HTML or plain text response.
    virtual string content_type();
        // effects: Return ``"text/html"'' or ``"text/plain"'' appropriately.
protected:
    bool html_response;
};

#endif /* _NORMAL_RESPONSE_H */



@


1.1
log
@Initial revision
@
text
@d23 3
@


1.1.1.1
log
@Import web include files into our tre.

@
text
@@
