On 14459 March 1977, Joerg Jaspert wrote: >> https://api.ftp-master.debian.org/file_in_archive/%25%2fdgit_1.4.tar.gz> >> => 404 The requested URL /file_in_archive/%/dgit_1.4.tar.gz was not found on >> this server >> OTOH this >> https://api.ftp-master.debian.org/file_in_archive/%25dgit%5C_1.4.tar.gzdoes >> work, at least. > Honestly, I have no Idea what the web framework is making of it.
And as I had none, I just read some documentation and a FAQ (uh gosh), and as such marked the "filepattern" part of the URL as "path", which is magic for bottle making it accept requests like https://api.ftp-master.debian.org/file_in_archive/t/tmux/%25ar.gz https://api.ftp-master.debian.org/file_in_archive/d/dgit/dgit_1.4.tar.gz https://api.ftp-master.debian.org/file_in_archive/9/%25.tar.gz which is way nicer than URL encoding / is, so we go with that. That is, you can specify as much of the path as you want/know, or use the %25 to get a % for the SQL LIKE, or combine them. Ought to be flexible (and halfway readable) enough. -- bye, Joerg If God didn’t want us to eat in church, he would’ve made gluttony a sin.