Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0690bcf
)
python: Ensure request bytearray is explicitly converted to str on Jython.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 7 Feb 2014 02:54:38 +0000
(
03:54
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 7 Feb 2014 02:54:38 +0000
(
03:54
+0100)
python/scgi-wsgi
patch
|
blob
|
blame
|
history
diff --git
a/python/scgi-wsgi
b/python/scgi-wsgi
index
6e04f20
..
7b1e1f5
100755
(executable)
--- a/
python/scgi-wsgi
+++ b/
python/scgi-wsgi
@@
-121,7
+121,7
@@
class request(ashd.serve.wsgirequest):
def flush(self):
try:
if not request.onjython():
- ret = self.bsk.send(s
elf.buffer
, socket.MSG_DONTWAIT)
+ ret = self.bsk.send(s
tr(self.buffer)
, socket.MSG_DONTWAIT)
else:
ret = self.bsk.send(self.buffer)
self.buffer[:ret] = ""