aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/language/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/language/http.py')
-rw-r--r--libpathod/language/http.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpathod/language/http.py b/libpathod/language/http.py
index daee7e54..543cfee3 100644
--- a/libpathod/language/http.py
+++ b/libpathod/language/http.py
@@ -32,6 +32,10 @@ class Body(base.Value):
preamble = "b"
+class Times(base.Integer):
+ preamble = "x"
+
+
class Method(base.OptionsOrValue):
options = [
"GET",
@@ -284,6 +288,7 @@ class Request(_HTTPMessage):
ShortcutUserAgent,
Raw,
PathodResponse,
+ Times,
actions.PauseAt,
actions.DisconnectAt,
@@ -304,6 +309,10 @@ class Request(_HTTPMessage):
return self.tok(Path)
@property
+ def times(self):
+ return self.tok(Times)
+
+ @property
def pathodspec(self):
return self.tok(PathodResponse)