Changeset 86974 in vbox for trunk/src/VBox/ValidationKit/testmanager/core
- Timestamp:
- Nov 25, 2020 2:38:52 PM (4 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testmanager/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testboxcontroller.py
r82968 r86974 730 730 731 731 offFile = 0; 732 oSrcFile = self._oSrvGlue.getBodyIoStream ();732 oSrcFile = self._oSrvGlue.getBodyIoStreamBinary(); 733 733 while offFile < cbFile: 734 734 cbToRead = cbFile - offFile; -
trunk/src/VBox/ValidationKit/testmanager/core/webservergluebase.py
r84604 r86974 280 280 raise WebServerGlueException('getUrlPath is not implemented'); 281 281 282 def getBodyIoStreamBinary(self): 283 """ 284 Returns file object for reading the binary HTML body. 285 """ 286 raise WebServerGlueException('getBodyIoStreamBinary is not implemented'); 287 282 288 # 283 289 # Output stuff. -
trunk/src/VBox/ValidationKit/testmanager/core/webservergluecgi.py
r82968 r86974 84 84 return sys.stdin; 85 85 86 def getBodyIoStreamBinary(self): 87 # Python 3: sys.stdin.read() returns a string. To get untranslated 88 # binary data we use the sys.stdin.buffer object instead. 89 return getattr(sys.stdin, 'buffer', sys.stdin); 90
Note:
See TracChangeset
for help on using the changeset viewer.