From 19a0c92fd03fb04e31a6b83127483fe981f0fcb3 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 1 Nov 2025 18:30:46 +0000 Subject: [PATCH] feat: add reverse proxy request routing with header forwarding in rproxy.c --- rproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rproxy.c b/rproxy.c index b419618..e0ae81d 100644 --- a/rproxy.c +++ b/rproxy.c @@ -320,7 +320,7 @@ static inline void buffer_consume(buffer_t *buf, size_t bytes) { // --- String Utilities --- static int is_valid_http_method(const char *method) { const char *valid_methods[] = {"GET", "POST", "PUT", "DELETE", "HEAD", - "OPTIONS", "PATCH", "TRACE", "CONNECT", NULL}; + "OPTIONS", "PATCH", "TRACE", "CONNECT","PROPFIND","PROPPATCH","MKCOL","MOVE","COPY","PROPDEL","LOCK","UNLOCK", NULL}; for (int i = 0; valid_methods[i]; i++) { if (strcmp(method, valid_methods[i]) == 0) return 1; }