[BangPypers] Accessing file using httpsconnection

murugadoss murugadoss2884 at gmail.com
Tue Oct 12 12:44:40 CEST 2010

Hello All,

Hope everyone is doing good !!

 I am writing a test program using https module, Aim of the program is to
connect to internet, download few files from the server. Give below is the
sample code

 Sample Code:
      >>>  import httplib
      >>> conn = httplib.HTTPSConnection("internet server")
      >>> conn.request("GET","/'*.zip")

On sending request for getting files, python throws "segmentation fault". I
feel, http connection is successful, but the Error is due to some invalid
access of "conn" information.

I would like to know, the debugging procedure to trace the reason for

("Python is compiled is SSL to support httpsconnection)

Any suggestions will be helpful.

Thanks & Regards

More information about the BangPypers mailing list