Re: Https Form Page

2005-04-10 Thread Joshua Ginsberg
It all really, really, really depends on your script processing the form. My suggestion is to use the openssl s_client program, manually submit your data, and see what your server is responding with. -jag <>Joshua Ginsberg -- [EMAIL PROTECTED] Brainstorm Internet Network Operations 970-247-1442

Re: Https Form Page

2005-04-09 Thread Tim Roberts
Hasan D <[EMAIL PROTECTED]> wrote: > >I'm new on this httplib and urllib. Actually I dont know what should i use. > >I want to fill the form in a "https" page , and return the result . I >write a test code but always gives errors. I cant find any good >example about this on the net. What should I d

Re: Https Form Page

2005-04-08 Thread Hasan D
I cant figure out, always gives me the form page. Everything looks ok but ? On Apr 9, 2005 2:07 AM, Joshua Ginsberg <[EMAIL PROTECTED]> wrote: > If url is your formpage and your formdata is correct, it should work. > > Do you need to have a cookie set? Is it 304 redirecting you? > > -jag > >

Re: Https Form Page

2005-04-08 Thread Joshua Ginsberg
Try: import urllib2, urllib formdata = urllib.urlencode({'a':1,'b':2}) request = urllib2.Request(url) request.add_data(formdata) opener = urllib2.build_opener(urllib2.HTTPSHandler()) urllib2.install_opener(opener) fs = urllib2.urlopen(request) https_response = fs.read() https_headers = fs.info().he

Https Form Page

2005-04-08 Thread Hasan D
I'm new on this httplib and urllib. Actually I dont know what should i use. I want to fill the form in a "https" page , and return the result . I write a test code but always gives errors. I cant find any good example about this on the net. What should I do about this ? import urlparse,urllib,ht