On Thu, Oct 16, 2008 at 10:44 PM, MilesTogoe [EMAIL PROTECTED] wrote:
I'm using jinja and need to render some xhtml and can't seem to find any
examples of how to pass the content type in the view. Can someone help
out? thks.
You set the content type in the controller.
Hi
I am sure this has been done before but i am having trouble finding any
references to existing code. As i don't want to reinvent the wheel i was
hoping someone could point me to the right place.
I have been building a reporting tool and i need to display lists of objects
in some form of grid.
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
My use case:
pylons.decorators.secure.authenticate_form only check for
request.POST. I have a secure_form with method='delete' and want to
test it, but there
W liście Sok Ann Yap z dnia piątek 17 października 2008:
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
But DELETE does not have request body, unlike POST and PUT. That wouldn't
really make much sense
On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin [EMAIL PROTECTED] wrote:
I am sure this has been done before but i am having trouble finding any
references to existing code. As i don't want to reinvent the wheel i was
hoping someone could point me to the right place.
I have been building a
Heya,
I'm currently pretty much reliably triggering the following exception
using IE6 (and some iframe/form post stuff):
Exception happened during processing of request from ('192.168.131.1', 58222)
Traceback (most recent call last):
File
On Fri, Oct 17, 2008 at 8:10 AM, Matt Feifarek [EMAIL PROTECTED] wrote:
On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin [EMAIL PROTECTED] wrote:
I am sure this has been done before but i am having trouble finding any
references to existing code. As i don't want to reinvent the wheel i was
Mike Orr wrote:
On Thu, Oct 16, 2008 at 10:44 PM, MilesTogoe [EMAIL PROTECTED] wrote:
I'm using jinja and need to render some xhtml and can't seem to find any
examples of how to pass the content type in the view. Can someone help
out? thks.
You set the content type in the
Due to the way my user authentication works, I'm rolling my own. It's
all work well, and I have it working with decorators, except for a
funny issue - when I raise a redirect_to from my decorator, Pylons
displays the error in debug mode, rather than actually redirecting.
In the debug I get a
On Fri, Oct 17, 2008 at 3:37 AM, Sok Ann Yap [EMAIL PROTECTED] wrote:
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
One thing WebOb doesn't do is to delete the '_method' param. I would
have expected
On Fri, Oct 17, 2008 at 7:10 AM, Matt Feifarek [EMAIL PROTECTED] wrote:
On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin [EMAIL PROTECTED] wrote:
I am sure this has been done before but i am having trouble finding any
references to existing code. As i don't want to reinvent the wheel i was
On Fri, Oct 17, 2008 at 10:40 AM, Adam Peacock [EMAIL PROTECTED] wrote:
Due to the way my user authentication works, I'm rolling my own. It's
all work well, and I have it working with decorators, except for a
funny issue - when I raise a redirect_to from my decorator, Pylons
displays the
using pylons 0.9.7 I have the following:
map.connect('/',controller='main',action='index')
but when I go to http://127.0.0.1:5000
I don't get directed to /main/index - my other route settings are
working correctly - is there some setting I am missing to get the root
set to a controller and
Fellow earthicans,
I'm trying the ExtJS Javascript framework in a workflow-style Pylons
project. And that means passing a lot of JSON data around. There is a
certain cross-site vulnerability problem when sending JSON arrays (versus
JSON dictionaries or scalars). But without working around it
On Fri, Oct 17, 2008 at 1:59 PM, MilesTogoe [EMAIL PROTECTED] wrote:
using pylons 0.9.7 I have the following:
map.connect('/',controller='main',action='index')
but when I go to http://127.0.0.1:5000
I don't get directed to /main/index - my other route settings are
working correctly - is
I must admit it's tricky to tell from the specification - I've read it
again...
The spec says request must not contain message body if method definition says
it must not contain it... But no method definition (even for GET) says so.
PUT and POST refer to section 8.2 about message
Previously Sok Ann Yap wrote:
On the other hand, if we look into httplib2's source code, which I
supposed is everyone's favorite http client library, Joe Gregorio
doesn't make any distinction between POST and DELETE. You can verify
that by using httplib2 to send a DELETE request with body to
17 matches
Mail list logo