squeaky-pl / japronto

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

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

Open Fgaoxing opened 10 months ago

Fgaoxing commented 10 months ago

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

Fgaoxing commented 10 months ago

Sorry, I didn't read the document carefully

Fgaoxing commented 10 months ago

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

Fgaoxing commented 10 months ago

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

Fgaoxing commented 10 months 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 10 months ago

@squeaky-pl