https://groups.google.com/d/forum/cherrypy-userscherrypy-usersFor questions about using CherryPyGoogle GroupsGael Lederrey2015-08-24T12:00:53Zhttps://groups.google.com/d/topic/cherrypy-users/YckkRdZF8kICherrypy: Background processHi everyone, I'm having some trouble doing something with cherrypy.. I would like to have a thread opened to do some stuff after a request have been handled.. This thread should not be accessible with the engine.. It should be something something like the BackgrounTask but without theDaniel Rice2015-08-23T05:29:30Zhttps://groups.google.com/d/topic/cherrypy-users/iMB63rN074EDealing with CORS + Authentication + Range RequestsI am hoping to use CherryPy to serve a local static directory that will allow: - Cross Origin Resource Sharing - Digest authentication - Range requests (ie byes=0-100) What is currently happening is the browser is sending a preflight OPTIONS request with no credentials and as aVincent2015-08-20T20:37:25Zhttps://groups.google.com/d/topic/cherrypy-users/ZsClp6_zRqgExitting or crashing?Hi everyone, I've a quesiton regarding Cheerypy. The application works just fine. Because it's accessible from the Internet, and because the URL is shared on some other websites, bots do come... some of them with really nasty intents. But I wouldn't have thought they could actually shutChristoph Dieck2015-08-17T08:35:31Zhttps://groups.google.com/d/topic/cherrypy-users/TRTAIC0zQMIXML-RPC-Server as Windows ServiceHey, I'm trying to start an XML-RPC-Server as Windows Service in combination with pywin32. This works on windows 7 but not on windows xp. The script starts fine in the console but as a service I get the following log output: 2015-08-14 16:55:18,187 INFO BuildServerService Start Service...Jinghui Niu2015-08-15T22:34:49Zhttps://groups.google.com/d/topic/cherrypy-users/JXOZ4xheoycCan someone give some layman's language analogy to: server, engine, request, response?These four core concepts are very important to understand Cherrypy's working I suppose. However I haven't been systemically trained in HTTP field. For someone like me just want to set up a web server quickly, I find it extremely difficult at some point to fully imagine how those concepts reallyNico Muji2015-07-31T14:56:44Zhttps://groups.google.com/d/topic/cherrypy-users/iOc_CtA9zmcCherrypy 3.2.3 KeyError: 'pyopenssl'Hi, I looked everywhere on the web but no solutions worked for my case. I'm running a website from my raspberry pi with *Python 3.2* and *Cherrypy 3.2.3*, using SSL protocole. I bought a certificate from gandi.net. The* server works with ssl_module="builtin"* *but not with "pyopenssl"*. AsGael Lederrey2015-07-24T09:50:19Zhttps://groups.google.com/d/topic/cherrypy-users/yoxQG1DRmNoRestful API with Cherrypy - Upload a pictureHi everyone, I'm creating a simple RESTfull API with Cherrypy.. The idea is to upload images with the url and from a computer.. For the moment, I am able to upload an image with the url but I cannot make it work to upload a picture from my computer.. I found a very interesting page showinggergo...@balabit.com2015-07-23T09:39:50Zhttps://groups.google.com/d/topic/cherrypy-users/dJyUn1PsMeUHTTP request uri check bugfix for approvalDear list, we have a problem if someone sends a HTTP request with a wrong absolute path (without leading slash) in the uri, then cherrypy will crash and restart. I created a small patch to handle this situation, like the remaining fragment in the path: https://bitbucket.org/cherrypy/cherrypVink2015-07-15T22:29:00Zhttps://groups.google.com/d/topic/cherrypy-users/E6ce3IM5Ck0kevent64 blocked in _dispatch_mgr blockedI am running a cherrypy server with default configuration and ssl certificates. I am running it on OSX with cherrypy 3.2.4 and python 2.6. My app hangs after every 2-3 days (if I do not use it). The server does not respond to requests, however, the monitor plugins threads are running fine. INoah Rømer2015-07-14T19:52:14Zhttps://groups.google.com/d/topic/cherrypy-users/fRy-H8cCEFIissues with static methods after cherrypy upgrade to v3.2.2I'm working on migrating a CherryPy v3.1.2 (Python v2.4) application to servers with CherryPy v3.2.2 (Python v2.7). When running on the new servers, I see errors such as TypeError: 'staticmethod' object is not callable Is this an issue with the newer CherryPy version, or more likely thePRADEEP KUMAR2015-07-13T12:23:53Zhttps://groups.google.com/d/topic/cherrypy-users/lrKAsCkcrfYhow to open a html page when a button is clickedHi, I am new to this cherrypy. I am trying to give some demo option before the actual submit is clicked. below is my html code import random import string import cherrypy from cherrypy.lib import static class Receive_inputs(object): @cherrypy.expose def index(self): returnNoah Rømer2015-07-09T05:34:32Zhttps://groups.google.com/d/topic/cherrypy-users/E996QWRFbRgMigrating from Cherrypy 3.1.2 + Python 2.4.x to Cherrypy 3.2.2 + Python 2.7.xI'm trying to migrate a Cherrypy application from systems running Cherrypy 3.1.2 + Python 2.4.x to systems with Cherrypy 3.2.2 + Python 2.7.x. Right now, I'm running into "TypeError: 'staticmethod' object is not callable" errors on function calls that previously worked. I don't see anything inlosp...@gmail.com2015-07-04T13:15:06Zhttps://groups.google.com/d/topic/cherrypy-users/zxkHK09Yp9cCherrypy newbie REST routing questionHi! I'm a newbie in Cherrypy and I want to make a kind of RESTful web service. Assume I want to have: Create user with certain parameters (create a user with id = 43253): POST /api/v1/users/43253?uname=Test&ulogin=test Update/upsert user with parameters (udate user data, find it by id =Santi2015-07-02T07:00:09Zhttps://groups.google.com/d/topic/cherrypy-users/_0V1rBqZXLUHow do I write xml file in cherrypy POST responseIn POST(self), I read a xml file and modify some of the attributes and do these things: cherrypy.response.headers['Content-Type'] = 'application/soap+xml;charset=UTF-8' cherrypy.response.headers['Content-Length'] = len(data) cherrypy.response.body = data cherrypy.log("response body is: %s"Santi2015-07-02T07:00:09Zhttps://groups.google.com/d/topic/cherrypy-users/Rr0_GZB_XJMHow to return XML string in http POSTIn POST(self), I read a xml file and modify some of the attributes and do these things: cherrypy.response.headers['Content-Type'] = 'application/soap+xml;charset=UTF-8' cherrypy.response.headers['Content-Length'] = len(data) cherrypy.response.body = data cherrypy.log("response body is: %s"