void simpleerror(int fd, int code, char *msg, char *fmt, ...);
void stdredir(struct hthead *req, int fd, int code, char *dst);
char *fmthttpdate(time_t time);
void simpleerror(int fd, int code, char *msg, char *fmt, ...);
void stdredir(struct hthead *req, int fd, int code, char *dst);
char *fmthttpdate(time_t time);