Fix responce when no content was provided

Change-Id: I437b1949a8c66231b487796505f4e8c7792dba6d
Related-Prod: PROD-32299
diff --git a/_modules/gnocchiv1/common.py b/_modules/gnocchiv1/common.py
index 1e5282f..83e010b 100644
--- a/_modules/gnocchiv1/common.py
+++ b/_modules/gnocchiv1/common.py
@@ -116,7 +116,11 @@
                     else:
                         raise
                 break
-            return response.json()
+            try:
+                resp = response.json()
+            except ValueError:
+                resp = response.content
+            return resp
         return wrapped_f
     return wrap