diff options
-rw-r--r-- | src/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c index c82237b50..7184b1193 100644 --- a/src/http.c +++ b/src/http.c @@ -437,6 +437,8 @@ rspamd_http_on_headers_complete (http_parser* parser) priv->msg->body = g_string_sized_new (BUFSIZ); } + priv->msg->method = parser->method; + return 0; } |