So, subj.
If someone steals the session id from cookies, will he be able to use
it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
This should be fixed in Beaker I think. Ben?
Nick Murphy wrote:
Hi All,
I stumbled upon a bug in Beaker when raising webob.exc.HTTPFound. The
offending line in Beaker is middleware.py:155. It's caused because the
header attribute of a WebOb WSGIHTTPException is a MultiDict (by way of
On Feb 17, 2008, at 9:19 AM, Ian Bicking wrote:
This should be fixed in Beaker I think. Ben?
Nick Murphy wrote:
Hi All,
I stumbled upon a bug in Beaker when raising webob.exc.HTTPFound.
The
offending line in Beaker is middleware.py:155. It's caused because
the
header attribute of a
Ben Bangert wrote:
Alternatively, I could remove that entirely, and have the (fairly
reasonable) expectation that Beaker shouldn't be responsible for messing
with app exceptions, and the HTTPFound exception should've been caught
earlier and turned into a proper WSGI response...
This
Hello,
My pylons actions are setup such that a decorator passes in the *args,
**kw request params coming from the user. The problem is when
spurious args are passed in. I get an AttributeError exception since
the signature of these actions don't take some of those arguments.
How do I make is
This held up my pursuit of AJAX for a few frustrating hours. Nobody's
fault but mine; however, I'm posting about it in case the following
can be useful in anyone else's learning process.
The following may sound like it's written for idiots if you are well
versed in AJAX or at least Javascript.
I'm getting this error following the Routes' integrator page:
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type help, copyright, credits or license for more information.
from routes import *
m = Mapper()
On 17 fév, 20:33, SamDonaldson [EMAIL PROTECTED] wrote:
Hello,
My pylons actions are setup such that a decorator passes in the *args,
**kw request params coming from the user. The problem is when
spurious args are passed in. I get an AttributeError exception since
the signature of these
Hello. Yes, I meant TypeError. I was thinking about this and it
seems like this would be pretty expensive. We're basically trying to
figure out the signature of the function being called, and then
eliminating spurious dictionary key/values from the input to match the
signature to avoid the
Hi,
I've been trying to follow this tutorial
http://wiki.pylonshq.com/display/pylonsdocs/Unit+Testing
But keep getting this error below for every test.
Any tips would be much appreciated.
Thanks,
Chris
==
ERROR: test_index
Hi Sam,
I ran into this same problem. The easy way to fix it was to use the
decorator module to preserve method signature. If you look at some of
the builtin decorators with Pylons like @jsonify and @validate, this
is how they do it - check pylons/decorators/__init__.py.
Here is jsonify with
11 matches
Mail list logo