diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-02-18 00:25:11 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-02-18 00:25:11 +0400 |
| commit | 9b69d6460e91244bfd77d8ea77c13d21d9050e4c (patch) | |
| tree | 74a891c6c6ec6b565cb92187db2cece11a6ff1d9 /spider/src/http_method.rs | |
| parent | 04a3c64713ae4f0a7f1b5cfdab132f78cc33a862 (diff) | |
Added parsing of query params in GET requests handler
Diffstat (limited to 'spider/src/http_method.rs')
| -rw-r--r-- | spider/src/http_method.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spider/src/http_method.rs b/spider/src/http_method.rs index a0b2e17..814c93b 100644 --- a/spider/src/http_method.rs +++ b/spider/src/http_method.rs @@ -1,5 +1,6 @@ use std::fmt; +#[derive(PartialEq)] pub enum HttpMethod { GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH } |