Showing posts with label Binary to stdout. Show all posts
Showing posts with label Binary to stdout. Show all posts

Sunday, November 24, 2013

CGI Python: serving binary file from web server to client

CGI Python: serving binary file from web server to client

1. Problem.

I want to send binary data (image or packed zip file) to the client from our CGI Python script. If you will work under *nix system it will not be complicated.