and then run from different machines OR
> from different browsers in same machine then the server
> becomes halt and in apache error log, I found this error
> message:
>
> Premature end of script headers: wsgihandler.py,
>
> Furthermore, it occurs only when I use BytesIO() stream fo
chine then the server becomes
halt and in apache error log, I found this error message:
Premature end of script headers: wsgihandler.py,
Furthermore, it occurs only when I use BytesIO() stream for generating graphs.
In all other cases, it run smoothly.
Please guide me that how I should resolve
Victor Subervi wrote:
> Hi;
>
> Here's my entire test script:
>
> #!/usr/bin/python
>
> def myMail():
> print 'Content-type: text/html'
> print
> print '''
>
>
>
>
>
>
> '''
>
> H
Hi;
Here's my entire test script:
#!/usr/bin/python
def myMail():
print 'Content-type: text/html'
print
print '''
'''
Here's the error:
[Mon Jan 04 12:59:15 2010] [error] [client 66.82.9.61] Premature end of
script headers: mail.py