Added http error messages

This commit is contained in:
2020-12-13 18:50:08 +01:00
parent 2bcfa97e1b
commit c2de0ce439
6 changed files with 182 additions and 14 deletions

View File

@ -16,8 +16,15 @@ typedef struct {
char *pathinfo;
char *query;
char *filename;
char *filename_comp;
char *uri;
struct stat stat;
} uri;
int is_static:1;
} http_uri;
int uri_init(http_uri *uri, const char *webroot, const char *uri_str);
void uri_free(http_uri *uri);
#endif //NECRONDA_SERVER_URI_H