init
This commit is contained in:
17
spider/normalutils/choices/htmlchoices.py
Normal file
17
spider/normalutils/choices/htmlchoices.py
Normal file
@ -0,0 +1,17 @@
|
||||
from normalutils.choices import BaseChoices
|
||||
|
||||
|
||||
class HttpMethod(BaseChoices):
|
||||
GET = "GET"
|
||||
POST = "POST"
|
||||
PUT = "PUT"
|
||||
PATCH = "PATCH"
|
||||
DELETE = "DELETE"
|
||||
OPTIONS = "OPOTIONS"
|
||||
|
||||
|
||||
class HtmlContentType(BaseChoices):
|
||||
TEXT_PLAIN = "text/plain"
|
||||
TEXT_HTML = "text/html"
|
||||
TEXT_MARKDOWN = "text/markdown"
|
||||
APPLICATION_JSON = "application/json"
|
Reference in New Issue
Block a user