TRACE working again

This commit is contained in:
2022-12-31 02:20:32 +01:00
parent e667a79ab2
commit 680344fbec
3 changed files with 3 additions and 5 deletions

View File

@ -44,7 +44,6 @@ static int local_handler(client_ctx_t *ctx) {
int accept_if_modified_since = 0;
if (strcmp(req->method, "TRACE") == 0) {
// FIXME not working?
res->status = http_get_status(200);
http_add_header_field(&res->hdr, "Content-Type", "message/http");