[Tutor] Fwd: Reg http request object

ALAN GAULD alan.gauld at btinternet.com
Fri Jan 5 10:16:41 CET 2007


Forwarding to the group in the hope someone 
may know the answer. 

--- anil maran <anilmrn at yahoo.com> wrote:

> Date: Thu, 4 Jan 2007 16:57:01 -0800 (PST)
> From: anil maran <anilmrn at yahoo.com>
> Subject: Reg http request object
> To: Alan Gauld <alan.gauld at btinternet.com>
> 
> Hi Alan
>  I m using webpy
>  The code was written for Django
>  facebook uses Request  http object and I need to get it and
> use it for processing the content after the user logs into
> facebook. This is part of facebook dev program.
>  
>  http://webpy.org/svn/trunk/web/
>  
> So I need to get my hands on the HTTP request object in
> facebook.. do help me out
> 
> Thanks
> 
> 
> > Here is the problem the example usage is in Django
> >
> > and they are talking about a request object
> >    if 'session_key' in request.session and 'uid' in
> > request.session:
> >        fb.session_key =
> > request.session['session_key']
> >
> > Anyone can tell me how I can access this in webpy
> > Isnt flup something that is set from webpy,
> 
> 
> OK, I\'m confused.
> 
> Can you clarify what is happening for me?
> Are you using Django? Are you using webpy? Or both?
> Also what is flup? I\'ve never heard of it...
> 
> Also what is the \'this\' that you want to access in webpy?
> Is it the request or the session? Or do you want to
> access Django code from webpy?
> 
> As I say, I\'m confused about what you are using
> and what you want us to help you with?
> 
> Alan G.
> Who is learning TurnoGears and knows next to
> nothing about webpy and only a little about Django...
> 
> ",1] ); D(["mb","- Show quoted text -
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> ",0] ); D(["ce"]);  //-->OK, I'm confused.
> 
> Can you clarify what is happening for me?
> Are you using Django? Are you using webpy? Or both?
> Also what is flup? I've never heard of it...
> 
> Also what is the 'this' that you want to access in webpy?
> Is it the request or the session? Or do you want to
> access Django code from webpy?
> 
> As I say, I'm confused about what you are using
> and what you want us to help you with?
> 
> Alan G.
> Who is learning TurnoGears and knows next to
> nothing about webpy and only a little about Django...
>  
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection
> around 
> http://mail.yahoo.com 



		
___________________________________________________________ 
Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com


More information about the Tutor mailing list