I'd like to implement support for HEAD on some kind of resources in my
web application.
I use map.resource() to autogenerate the RESTful routes, but HEAD is
not included by default
How can I do that? I tried to manually connect another route after the
map.resource() but it didn't work.
Any
I saw this in the routes manual...
(http://routes.groovie.org/manual.html)
m.connect('user/list', controller='user', action='list',
conditions=dict(method=['GET', 'HEAD']))
jw
On Nov 16, 5:00 am, Lawrence Oluyede [EMAIL PROTECTED] wrote:
I'd like to implement support for HEAD on
Send Big File Fast and Easy
Send, Receive and Track files with YouSendIt.
apply for free. be urgent , there is the time limits.
Get Free Code: Limited Time Only!
http://www.tkqlhce.com/click-2667396-10501907
--~--~-~--~~~---~--~~
You received this message because
Hmmm... This quick script works for me...
import routes
m = routes.Mapper()
m.connect('user/list', controller='user', action='list',
conditions=dict(method=['GET', 'HEAD']))
m.environ = dict(REQUEST_METHOD='HEAD')
print m.match('/user/list')
I'll poke around a bit this weekend in my
On Fri, 2007-11-16 at 23:34 +0200, Mikael Lepistö wrote:
Hi!
Has anybody actually managed to configure nginx + mod_wsgi to work
with pylons? I manage to load static content from public directory,
but for some reason I can't get requests to map to controllers and
actions. Is there any
Has anybody actually managed to configure nginx + mod_wsgi to work
with pylons?
Leaving apart the fact that this configuration is highly experimental,
it is not very likely to be optimal. Nginx is optimized for serving
plenty of clients with one worker, so keeping its processess busy for
What does the WSGI script file for mod_wsgi that you are using
contain?
It contains the one line that was documented.
[code]
import os, site; site.addsitedir(eggs_dir)
from paste.deploy import loadapp
application = loadapp('config:Path.../production.ini' )
[/code]
Howdy folks,
I'm seeking advice regarding database setup with Pylons. Currently, I
have everything in a single database, but I'm pondering if using
multiple databases would mean better scalabilty and maintanability.
A quick run down: an organization can create their own site at a
subdomain they
When I previously mentioned invistigating. I managed to get it to log
by manually adding a handler from within my controller-xyz.py. However
it is refusing to load my config. It is for some reason refusing to
use the Formatter line, that I adjust from within controller-xyz.py.
However, it changes
If you plan to run the *same* web application for different entities -
thus you need different data (icons, templates, db...) in your app -
maybe it's better to check for environ['HOST'] in your controllers
explicitly, and act acordingly?
After a while, I'm sure a pattern will emerge so you
Hi Chris,
That's a great question that is going to be hard to answer on a
general basis as it is implementation-specific (database server,
database engine, memory, and hard drive speed).
To do a gross oversimplification, if you have a single database server
and you get a random mix of traffic
11 matches
Mail list logo