-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Ensure named upload URLs works as well
This is common pattern to setup tus uploads to named resources, such as: - `/user/{username}/uploads` - or `/clients/{client_id:\d+}/projects/{project_id:\d+}/uploads` Previously attaching `aiohttp_tus` to given URLs result in `KeyError`, which is fixed by given commit.
- Loading branch information
1 parent
eabb409
commit ab7d833
Showing
5 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from .tus import setup_tus | ||
|
||
__all__ = ("setup_tus",) | ||
__license__ = "BSD-3-Clause" | ||
__version__ = "1.0.0a1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ show_missing = true | |
|
||
[tool.poetry] | ||
name = "aiohttp-tus" | ||
version = "1.0.0a0" | ||
version = "1.0.0a1" | ||
description = "tus.io protocol implementation for aiohttp.web applications" | ||
authors = ["Igor Davydenko <[email protected]>"] | ||
license = "BSD-3-Clause" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters