ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Cannot write unicode strings to the FastCGI output stream #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Configure a simple helloworld app:

app.yaml:

---
application: helloworld
version: 1
runtime: python
api_version: 1

handlers:

- url: /.*
  script: app.py

---
app.py:

---
print 'Content-Type: text/plain'
print
print u'Hello, World!'

---

When trying to write unicode strings to the FastCGI output stream it raises 
"TypeError: string 
argument expected for write".

Original issue reported on code.google.com by tobias.r...@gmail.com on 27 Nov 2009 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 4 Dec 2009 at 2:30