Re: using "request" variable in python web program

2007-10-22 Thread sami
> Not exactly - this is the "query string" part of the URI. > Request and Response are the two messages defined by the HTTP protocol. > When you type a URL or click on a link or press a button in a page, your > browser builds the appropiate Request message and sends it to the server. > After proces

Re: using "request" variable in python web program

2007-10-22 Thread Gabriel Genellina
En Mon, 22 Oct 2007 05:34:55 -0300, sami <[EMAIL PROTECTED]> escribi�: > Thanks again Paul - now I can see that the "request" object is a > string of name/value pairs that occurs after a "?" in a url e.g. > url.com/index.cgi?name=sami&lang=python - is that correct? Googling > for this information

Re: using "request" variable in python web program

2007-10-22 Thread Paul Boddie
On 22 Okt, 10:34, sami <[EMAIL PROTECTED]> wrote: > > See the library reference for information on how to get the value of > > form/request parameters from the CGI environment: > > >http://docs.python.org/lib/node561.html > > > Paul > > Thanks again Paul - now I can see that the "request" object is

Re: using "request" variable in python web program

2007-10-22 Thread sami
> See the library reference for information on how to get the value of > form/request parameters from the CGI environment: > > http://docs.python.org/lib/node561.html > > Paul Thanks again Paul - now I can see that the "request" object is a string of name/value pairs that occurs after a "?" in a u

Re: using "request" variable in python web program

2007-10-21 Thread sami
> However, it shouldn't be too bad to set Django up, really, especially > if people have taken some time to explain something very close to what > you want to do using Django. Moreover, there's a Google group (django- > users) where you could ask general questions, and I imagine that > people will

Re: using "request" variable in python web program

2007-10-21 Thread Paul Boddie
On 21 Okt, 21:59, sami <[EMAIL PROTECTED]> wrote: > > Thanks a ton Paul for the information. I am using CGI and my host > (nearlyfreespeech.net) does not have django hosting - and being mainly > a C/dekstop apps programmer I really don't want to learn the whole MVC > concept and its implementation

Re: using "request" variable in python web program

2007-10-20 Thread Paul Boddie
On 21 Okt, 00:21, sami <[EMAIL PROTECTED]> wrote: > > def simple_web_app(request, api_key, secret_key): > fb = Facebook(api_key, secret_key, request.GET['auth_token']) > fb.auth_getSession() > > A Django-based tutorial and source is available > here:http://wiki.developers.facebook.com/inde