aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/language/http.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-03 12:54:25 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-03 12:54:25 +1200
commit3f5ec4b73739340891a727a228cefdac727ec882 (patch)
treebf652434fa0565c52b5de5829185a9210218141b /libpathod/language/http.py
parentcc434ded897aaa2df23fa0142a7d4a720d757ada (diff)
downloadmitmproxy-3f5ec4b73739340891a727a228cefdac727ec882.tar.gz
mitmproxy-3f5ec4b73739340891a727a228cefdac727ec882.tar.bz2
mitmproxy-3f5ec4b73739340891a727a228cefdac727ec882.zip
PreValue -> Value
Diffstat (limited to 'libpathod/language/http.py')
-rw-r--r--libpathod/language/http.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpathod/language/http.py b/libpathod/language/http.py
index 800d9f08..ba43a367 100644
--- a/libpathod/language/http.py
+++ b/libpathod/language/http.py
@@ -16,7 +16,7 @@ class Raw(base.CaselessLiteral):
TOK = "r"
-class Path(base.PreValue):
+class Path(base.Value):
pass
@@ -24,11 +24,11 @@ class Code(base.Integer):
pass
-class Reason(base.PreValue):
+class Reason(base.Value):
preamble = "m"
-class Body(base.PreValue):
+class Body(base.Value):
preamble = "b"
@@ -60,12 +60,12 @@ class Header(_HeaderMixin, base.KeyValue):
preamble = "h"
-class ShortcutContentType(_HeaderMixin, base.PreValue):
+class ShortcutContentType(_HeaderMixin, base.Value):
preamble = "c"
key = base.TokValueLiteral("Content-Type")
-class ShortcutLocation(_HeaderMixin, base.PreValue):
+class ShortcutLocation(_HeaderMixin, base.Value):
preamble = "l"
key = base.TokValueLiteral("Location")