How do I return binary data from a python CGI called from CGIHTTPServer?

Boyd Roberts boyd at insultant.net
Wed Jun 6 06:56:06 EDT 2001


"Mark Wright" <mwright at pro-ns.net> a écrit dans le message news: f9ff3f62.0106051130.6e19c22c at posting.google.com...
> This works correctly for 0x0a, but it still gets upset about 0x1a -
> a.k.a. ctrl-Z, a.k.a. end of file.  If there's a ctrl-z in the output
> of my CGI script CGIHTTPServer truncates the data.

ctrl-z is NOT end of file, except on certain braindamaged systems.

it is SUB (substitute).






More information about the Python-list mailing list