#ifndef _SIMPLE_RESPONSE_H
#define _SIMPLE_RESPONSE_H

#include "ps5/normal_response.h"

class simple_response : public normal_response {
    // A "simple_response" represents an HTTP/1.0 response that is
    // a fixed page of text, i.e. of type "text/html" or "text/plain".
public:
    simple_response(string text, bool html);
	// create a new "normal_response" that is an HTML response if
	// "html" is true, else it is a plain text response.

    // overridden methods
    void body(ostream &o);
protected:
    string response_text;
};

#endif /* _SIMPLE_RESPONSE_H */
