Skip to content

static support should be moved to cheroot? #72

Answered by jaraco
absurd34 asked this question in Ideas
Discussion options

You must be logged in to vote

The split of cheroot was intended to move the HTTP server (specifically everything that was in cherrypy.wsgiserver) to another library. I don't see how it follows that the static file support, which is a feature of cherrypy like anything else in cherrypy.lib. Looking at the implementation, the behavior depends on cherrypy.serving.response and cherrypy.log and cherrypy.NotFound. None of these concepts make any sense outside cherrypy.

I took a quick look at waitress and zope.server, two projects in the same space as cheroot, and neither of those have static file support.

So I'm finding it difficult to imagine what it looks like to have static file support in cheroot, what impact that would …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webknjaz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #72 on September 17, 2020 23:35.