Browse Source
* Implement regex to match the filename in the content-disposition header. The following srings will match: filename=Zombie.Land.Saga.Revenge.S02E12.480p.x264-mSD.nzb; filename*=UTF-8''Zombie.Land.Saga.Revenge.S02E12.480p.x264-mSD.nzb filename=Zombie.Land.Saga.Revenge.S02E12.480p.x264-mSD.nzb; filename*=UTF-8''Zombie.Land.Saga.Revenge.S02E12.480p.x264-mSD.nzb * Missed quote * Implement the mailbox/Message solution * Add basic tests * Add `attachment;` * Add example with attachment. * Fix some linting. * Added edge case tests. * Added comment. * Added test to include path elements. * Only try the content-disposition header when it has `filename` in it * Project uses double quotes. * Update test. * Add `attachment;` * black formatter * remove release names. * trailing commas * quote enclosurespull/1951/head
committed by
GitHub
2 changed files with 64 additions and 2 deletions
Loading…
Reference in new issue