We are unfortunately still on Python 2.4, but we have brought hashlib
in (from http://pypi.python.org/pypi/hashlib ) because we needed it
elsewhere in our project.
We are seeing some strange exceptions when using paste.httpexceptions
- I'm theorizing that beaker's hashlib / sha1 / md5 usage is
I'm trying to render some Atom feeds with Pylons -
I've got a genshi template that more or less renders the atom feed,
but I need to return it as application/atom+xml
For the life of me I can't figure out how the new global response
object works - setting content_type has no effect.. my
much behind-the scenes?
Alec
On Sep 26, 3:40 pm, James Gardner [EMAIL PROTECTED] wrote:
Hi Alec,
You need:
response.headers['Content-type'] = application/atom+xml
return render(genshi-xml, atom-feed)
James
alecf wrote:
I'm trying to render some Atom feeds with Pylons -
I've got
Wow.. I had no idea Paste could bridge the modpython divide but thanks
to your post, I just converted my own stuff over from
modpython_gateway.py, which is looks like paste.modpython derives
from...
I'm in the process of making my app more paste-friendly so I'm not
quite ready to add the .ini
I'm interested in serving up my pylons app under Stackless Python -
Stackless is more or less single-threaded so the model is somewhat
like Twisted but without all the deferreds. Instead of threads, there
are tasklets which participate in kind of a cooperative parallelism -
as soon as one tasklet