A small test is added to cover this new option. Also, a check for AWS region in the URL was removed. The public URL doesn't actually contain it and it's imho useless - S3 buckets are always tied to a certain region. The elaborate grep command parsing a path from a URI was switched to being a small python script. The python script can actually handle an URI without a query (which was always present in the pre-signed URI, but it's not in the ordinary one) Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| errors.go | ||
| errors_test.go | ||
| handler.go | ||
| middleware.go | ||
| openapi.v2.gen.go | ||
| openapi.v2.yml | ||
| server.go | ||
| v2_internal_test.go | ||
| v2_koji_test.go | ||
| v2_multi_tenancy_test.go | ||
| v2_test.go | ||