changes to send headers and body separately which fixes images not sending

This commit is contained in:
Nayan
2025-05-08 18:32:40 -04:00
parent b12cfd2c17
commit 4e8e22ec61
7 changed files with 80 additions and 51 deletions

View File

@@ -8,7 +8,6 @@
#include "http_stuff.h"
#include "response_builder.h"
void handle_request(char* request, int length, char** response,
size_t* response_length);
void handle_request(char* request, int length, http_response* response);
#endif