mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 03:26:59 +00:00
Refactor request data handling and update unit tests
This commit is contained in:
@@ -3,8 +3,12 @@ from schema.methods import Methods
|
||||
|
||||
|
||||
class RequestData(BaseModel):
|
||||
data: dict
|
||||
method: Methods = Methods.GET
|
||||
data: dict = {}
|
||||
params: dict = {}
|
||||
form: dict = {}
|
||||
url: str
|
||||
headers: dict
|
||||
headers: dict = {}
|
||||
cookies: dict = {}
|
||||
http_version: str = ""
|
||||
time: str
|
||||
|
||||
Reference in New Issue
Block a user