summaryrefslogtreecommitdiffstats
path: root/src/restRequest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/restRequest.py')
-rw-r--r--src/restRequest.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/restRequest.py b/src/restRequest.py
index 8128b08..fdfe633 100644
--- a/src/restRequest.py
+++ b/src/restRequest.py
@@ -37,6 +37,7 @@ class restRequest:
self.code = None
self.seq = None
self.backup = None
+ self.images = None
def parser(self,data):
self.request_line, self.headers_alone = data.split('\n', 1)
@@ -75,6 +76,9 @@ class restRequest:
except:
pass
+ if "images" in json_param:
+ self.images = json_param["images"]
+
if "disk" in json_param:
self.disk = json_param["disk"]
@@ -114,6 +118,9 @@ class restRequest:
def get_method(self):
return self.method
+ def getImages(self):
+ return self.images
+
def get_uri(self):
return self.URI