From 02d02ed4ddba4d66d3f1d5ec92bfe9ec4ca182d0 Mon Sep 17 00:00:00 2001 From: Soikk Date: Sat, 14 Jun 2025 02:48:33 +0200 Subject: Reworked config. Added mime module. Reworked mime related functions in net module. --- src/net/net.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/net/net.h') diff --git a/src/net/net.h b/src/net/net.h index 79886df..dc7c147 100755 --- a/src/net/net.h +++ b/src/net/net.h @@ -19,6 +19,7 @@ #include "list/list.h" #include "files/files.h" #include "log/log.h" +#include "mime/mime.h" #include #include #include @@ -34,16 +35,6 @@ typedef enum http_method { } http_method; - -enum mime_type { - AVIF, BMP, CSS, CSV, GZ, GIF, HTML, - ICO, JPG, JPEG, JS, JSON, MIDI, MP3, - MP4, MPEG, PNG, PDF, PHP, RAR, TIFF, TS, - TXT, WAV, WEBA, WEBM, WEBP, XML, ZIP, - _7Z, -}; - - struct uri { str path; str query; -- cgit v1.2.3