title: Return a file attachment on web request using python script without using django
body: <p>I have used <strong>httplib.HTTPResponse</strong> it working fine if i return a string/dict but not able to return it as a attached file.<br/>
  using <strong>django.http.HttpResponse</strong> its possible to do but i dont want to use django for this.
  I am trying to do it simply writing a python script, hosted on mod-python apache webserver.</p>