You can parse os.environ to get path, parameters, etc, then print your
output.
Or you can use WSGI <http://www.python.org/dev/peps/pep-0333/>, webapp is a
simple WSGI framework. Read its code, then you'll find the way to build your
own framework.

----------
keakon

My blog(Chinese): www.keakon.net
Blog source code: https://bitbucket.org/keakon/doodle/



On Mon, Aug 29, 2011 at 11:51 AM, Santiago Basulto <
[email protected]> wrote:

> Thank you Greg, but in the getting started guide it uses webapp
> framework. I'm trying to get information from the request without
> using any framework.
>
> 2011/8/29 Greg <[email protected]>:
> > http://code.google.com/appengine/docs/python/gettingstarted/
> >
> > On Aug 29, 12:33 pm, Santiago Basulto <[email protected]>
> > wrote:
> >> Hello People, i know this question might sound idiot, but i don't know
> where
> >> to start. When i use some kind of framework, it generally uses some kind
> of
> >> WSGI interface and in my actions i get requests, responses, and those
> kind
> >> of things.
> >>
> >> For example, with webapp framework:
> >>
> >> def sayHello(self):
> >>     self.response.headers['Content-Type'] = 'text/plain'
> >>     self.response.out.write('Hello, webapp World!')
> >>
> >> How i can get requests data (URL, headers, params, cookies, etc) without
> any
> >> framework? (just with the default appengine (app.yaml) routing.
> >> Thank you!
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected].
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
>
>
> --
> Santiago Basulto.-
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to