Another abandoned server code base... this is kind of an ancestor of taskrambler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
522 B

#ifndef __HTTP_RESPONSE_H__
#define __HTTP_RESPONSE_H__
#include <time.h>
#include <sys/types.h>
#include "class.h"
#include "http/message.h"
CLASS(HttpResponse) {
EXTENDS(HttpMessage);
unsigned int status;
char * reason;
};
HttpResponse httpResponse304(int, const char *);
HttpResponse httpResponse404();
HttpResponse httpResponseMe();
HttpResponse httpResponseImage(int);
//void httpResponseHeaderSet(HttpResponse, const char *, const char *);
#endif /* __HTTP_RESPONSE_H__ */
// vim: set ts=4 sw=4: