You cannot post messages because only members can post, and you are not currently a member.
Description:
For questions about using CherryPy
|
|
|
Configuring log line format (headers)
|
| |
Hi there,
My CherryPy application is running behind Apache and so the host
portion of my access and error log lines is always '127.0.0.1'. Of
course, Apache gives CherryPy the original requesting host in X-
Forwarded-For' (I think). But how do I configure CherryPy's log
messages to include this X-Forwarded-For host header instead of the... more »
|
|
need help using cherrypy
|
| |
Hi All, i know this is very basic usage, i am a new user of cherrypy. i have a problem like below def index(self): return """<form method='POST' action='/form'> type something <input type='text' name='inp'> <input type='submit'> </form>""" index.exposed=True def form(self,inp=None,**kw):... more »
|
|
html, rss, atom, Oh My!
|
| |
I am working on a back end controller to serve out data to various
clients. What I'm looking for is a way to return data in a variety of
formats based on the client request. for instance:
/controller/noun/verb returns html (the default)
/controller/noun/verb.html returns html... more »
|
|
Invitation to connect on LinkedIn
|
| |
LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Arjun Confirm that you know Arjun Kochhar [link] Every day, millions of professionals like Arjun Kochhar use LinkedIn to connect with colleagues, find experts, and explore opportunities.... more »
|
|
Method dispatcher wiki example problem
|
| |
Taking the example from the wiki:
import cherrypy
class Root():
exposed = True
def __init__(self, *things):
self.things = list(things)
def GET(self):
return repr(self.things)
def POST(self, thing):
self.things.append(thing)
root = Root(1, 2, 3)... more »
|
|
Page handler url matching problem
|
| |
I have an application mounted as test. This has a page handler called
foo. I cant seem to get the default handler to match this URL.:
[link]
This was the handler I used:
@cherrypy.expose
def default(self, *args, **kwargs ):
This always error out with this traceback:... more »
|
|
Passing multiple values to cherrypy.url()
|
| |
How does one pass multiple values to the "qs" variable in the
cherrypy.url function? I would like to have "foo=1" and "bar=2"
cherrypy.url("title", qs="foo=edit")
Thanks
|
|
CherryPy Performance
|
| |
Hi
We are migrating a something complex system from Java to Python and we
are thinking about choosing CherryPy as our framework.
My doubt: does cherrypy stand +/- 4 million users and +/- 250
thousands simultaneous access?
Of course we are talking about using a very large cache structure
(memcached), WSGI and apache.... more »
|
|
Tornado server adapter for CherryPy engine
|
| |
Since we many of us are trying different ways [1] to run CherryPy applications, I though releasing the bits and pieces I had done on running CP over Tornado would interest you guys. Here it is: [link] It's not yet really tested and should be widely edited but demonstrates... more »
|
|
|