squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

How to match all current items in a certain directory #193

Closed Fgaoxing closed 4 months ago

Fgaoxing commented 1 year ago

@kwadrat Is there any way? I want to match all the content under a certain path 有什么办法吗?我希望匹配某一个路径下的所以内容

Fgaoxing commented 1 year ago

Sorry, I didn't read the document carefully

Fgaoxing commented 1 year ago

@squeaky-pl When I use "router. add_route ("/gh/{path} ", github. getFile)", I cannot match correctly

Fgaoxing commented 1 year ago

I am not matching a separate directory, but all the directories below

Fgaoxing commented 1 year ago

Additionally, when I call any function or class other than a custom one of 'request', calling 'request. Response' will result in 'SystemError: error return without exception set'

Fgaoxing commented 1 year ago

@squeaky-pl

Ronnie420b commented 4 months ago

Javac