minor refactoring

This commit is contained in:
Miroslav Stampar
2011-11-29 19:17:07 +00:00
parent 3cd8f47686
commit 872a73f631
4 changed files with 22 additions and 15 deletions

View File

@@ -87,8 +87,11 @@ class MOBILES:
class HTTPHEADER:
ACCEPT = "Accept"
ACCEPT_CHARSET = "Accept-Charset"
ACCEPT_ENCODING = "Accept-Encoding"
ACCEPT_LANGUAGE = "Accept-Language"
AUTHORIZATION = "Authorization"
CACHE_CONTROL = "Cache-Control"
CONNECTION = "Connection"
CONTENT_ENCODING = "Content-Encoding"
CONTENT_LENGTH = "Content-Length"
@@ -96,7 +99,9 @@ class HTTPHEADER:
CONTENT_TYPE = "Content-Type"
COOKIE = "Cookie"
HOST = "Host"
PROXY_AUTHORIZATION = "Proxy-authorization"
PRAGMA = "Pragma"
PROXY_AUTHORIZATION = "Proxy-Authorization"
PROXY_CONNECTION = "Proxy-Connection"
RANGE = "Range"
REFERER = "Referer"
USER_AGENT = "User-Agent"