HTTPS GET request.

J

Jon

Hi,

I'm testing an application that sends an HTTPS GET request in the form
of:

https://localhost/cgi-bin/parse_eas.cgi?vers=2+"&msg=This+is+a+simple+%26+short+test.

I need to get a hold of that entire request for comparison /
verification purposes.

The closet thing I found is Sebastien Martini's Simple HTTP server
supporting SSL recipe (http://aspn.activestate.com/ASPN/Cookbook/
Python/Recipe/442473).

In this recipe Sebastien created a SecureHTTPRequestHandler by
extending the SimpleHTTPRequestHandler class.

The SimpleHTTPRequestHandler extends the BaseHTTPRequestHandler that
references an internal instance "request" variable.

If getting access to that request variable is the right way to go to
get hold of the entire GET request, can someone suggest a way (or a
web resource for me to learn how) to do that (since I'm relatively new
to Python).

Or is there a better way?

Many thanks!

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top