diff --git a/c/httpserver.c b/c/httpserver.c index 56dfa4565..f64fd0510 100644 --- a/c/httpserver.c +++ b/c/httpserver.c @@ -3631,7 +3631,6 @@ static void respondWithUnixFileInternal(HttpResponse* response, char* absolutePa static void respondWithUnixDirectoryInternal(HttpResponse* response, char* absolutePath, int jsonMode, int secureFlag); static void respondWithUnixFile(HttpResponse* response, char* absolutePath, int jsonMode, bool asB64); -static void respondWithUnixFile2(HttpService* service, HttpResponse* response, char* absolutePath, int jsonMode, int autocvt, bool asB64); void respondWithUnixDirectory(HttpResponse *response, char* absolutePath, int jsonMode); void respondWithUnixFileSafer(HttpResponse* response, char* absolutePath, int jsonMode); void respondWithUnixDirectorySafer(HttpResponse* response, char* absolutePath, int jsonMode); diff --git a/h/httpserver.h b/h/httpserver.h index a5e2097aa..d3cebe139 100644 --- a/h/httpserver.h +++ b/h/httpserver.h @@ -472,6 +472,7 @@ HttpService *makeWebSocketService(char *name, char *urlMask, WSEndpoint *endpoin jsonPrinter *initWSJsonPrinting(WSSession *session, int maxFrameSize); void flushWSJsonPrinting(WSSession *session); +void respondWithUnixFile2(HttpService* service, HttpResponse* response, char* absolutePath, int jsonMode, int autocvt, bool asB64); void respondWithUnixFileContents(HttpResponse* response, char *absolutePath, int jsonMode); void respondWithUnixFileContents2(HttpService* service, HttpResponse* response, char *absolutePath, int jsonMode); void respondWithUnixFileContentsWithAutocvtMode(HttpService* service, HttpResponse* response, char *absolutePath, int jsonMode, int convert);