cherrypy.tutorial.tut02_expose_methods module

Tutorial - Multiple methods.

This tutorial shows you how to link to other methods of your request handler.

class cherrypy.tutorial.tut02_expose_methods.HelloWorld[source]

Bases: object

Hello world app.

index()[source]

Produce HTTP response body of hello world app index URI.

show_msg()[source]

Render a “Hello world!” message on /show_msg URI.