Skip to content

IzmaylovAndrey/hello-flask-cherrypy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-flask-cherrypy

Test project for issue https://github.com/cherrypy/cherrypy/issues/1662

Flask application that's served by CherryPy as WSGI server

By default server runs on 0.0.0.0:5000

Run server:

  • Flask development server:
python run.py
  • CherryPy WSGI server:
python server.py

Requirements

  • Python 3.5
  • Flask 0.12
  • CherryPy 12.0.0

Endpoints

  • '/'

returns 200 on GET

  • '/hello?name=<string:name>, where name param is not required

returns "Hello, <name>! Nice to meet you!" with 200 code

To this endpoint you should send OPTIONS request

Docker image

https://hub.docker.com/r/andreyizmaylov/hello-flask-cherrypy/

Releases

No releases published

Packages

No packages published

Languages