Permalink
Browse files

Fixed httpVersion field for responses

previously, only fixed for requests.
  • Loading branch information...
1 parent b3f6e67 commit b13c49ee91c4c4933f18c8fe38d5bffe6c82fd4e Andrew Fleenor committed Oct 25, 2013
View
@@ -63,7 +63,7 @@ def HTTPResponseJsonRepr(self):
return {
'status': int(self.msg.status),
'statusText': self.msg.reason,
- 'httpVersion': self.msg.version,
+ 'httpVersion': 'HTTP/' + self.msg.version,
'cookies': [],
'headersSize': -1,
'bodySize': self.raw_body_length,
View
@@ -109,7 +109,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -229,7 +229,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -349,7 +349,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -469,7 +469,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -589,7 +589,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -709,7 +709,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -829,7 +829,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -949,7 +949,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -1069,7 +1069,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
View
@@ -111,7 +111,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -233,7 +233,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -355,7 +355,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -478,7 +478,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -601,7 +601,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -724,7 +724,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -847,7 +847,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -970,7 +970,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -1093,7 +1093,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
View
@@ -107,7 +107,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -225,7 +225,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -343,7 +343,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -462,7 +462,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -581,7 +581,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -700,7 +700,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -819,7 +819,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -938,7 +938,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -1057,7 +1057,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
View
@@ -148,7 +148,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -254,7 +254,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
View
@@ -107,7 +107,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -258,7 +258,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
@@ -111,7 +111,7 @@
}
],
"headersSize": -1,
- "httpVersion": "1.1",
+ "httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
Oops, something went wrong.

0 comments on commit b13c49e

Please sign in to comment.