response.h 452 Bytes
#ifndef __HTTP_RESPONSE_H__
#define __HTTP_RESPONSE_H__

#include <sys/types.h>

#include "class.h"
#include "http/message.h"


CLASS(HttpResponse) {
	EXTENDS(HttpMessage);

	unsigned int status;
	char *       reason;
};

HttpResponse httpResponse404();
HttpResponse httpResponseMe();
HttpResponse httpResponseImage();

//void   httpResponseHeaderSet(HttpResponse, const char *, const char *);

#endif /* __HTTP_RESPONSE_H__ */

// vim: set ts=4 sw=4: