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 _EXPIRED_RESPONSE_H
#define _EXPIRED_RESPONSE_H

#include "ps5/http_response.h"

class expired_response : public normal_response {
    // An "expired_response" is a "normal_response" that expires immediately,
    // which means that a web browser is not allowed to cache the result.
public:
    expired_response(bool html);
	// Effects: Create a new "expired_response" that is an HTML response if
	// "html" is true, else it is a plain text response.

    // overridden methods
    virtual void headers(ostream &o);
	// Effects: Provides at least the headers described in "http_response",
	//    plus an "Expires:" header that indicates that the data
	//    expires immediately.
	// Inherited: Provides exactly the headers mentioned above.
protected:
};

#endif /* _EXPIRED_RESPONSE_H */
@


1.1.1.1
log
@Import web include files into our tre.

@
text
@@
