Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cherrypy

Using Mappings In Cherrypy

In the 'Dispatching / Other Dispatchers' section of the CherryPy documentation, there is an… Read more Using Mappings In Cherrypy

Socket Error: Address Already In Use

I have a CherryPy script that I frequently run to start a server. Today I was having to start and … Read more Socket Error: Address Already In Use

How To Logout From A Simple Web Appl. In Cherrypy, Python

I am not familiar with CherryPy and Python, but I need to write a very simple web application that … Read more How To Logout From A Simple Web Appl. In Cherrypy, Python

Unittesting Cherrypy Webapp

I recently had to rewrite our rest api, and made the switch from Flask to Cherrypy (mostly due to P… Read more Unittesting Cherrypy Webapp

Cherrypy: What Is The Difference Between `error_page.default` Vs. `error_page.404` Config Settings?

Let's say I want to display my own 404 & 500 pages, I've found 2 possibilities so far: … Read more Cherrypy: What Is The Difference Between `error_page.default` Vs. `error_page.404` Config Settings?

Cherry Py Auto Download File

I'm currently building cherry py app for my projects and at certain function I need auto starti… Read more Cherry Py Auto Download File

Writing A Cherrypy Decorator For Authorization

I have a cherrypy application and on some of the views I want to start only allowing certain users … Read more Writing A Cherrypy Decorator For Authorization

Cherrypy.HTTPRedirect Redirects To IP Instead Of Hostname Using Abs Path

I'm running CherryPy behind nginx and need to handle redirects. On my dev machine running on 1… Read more Cherrypy.HTTPRedirect Redirects To IP Instead Of Hostname Using Abs Path

CherryPy Upload File

I'm want to POST a file from a python3 client to cherrypy. I'm using the requests library. … Read more CherryPy Upload File

Passing Function Into A Class And Using It As A Decorator Of Class Methods

first I created some user management functions I want to use everywhere, and bound them to cherrypy… Read more Passing Function Into A Class And Using It As A Decorator Of Class Methods