diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-07-13 18:35:05 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-07-14 15:39:37 +0200 |
commit | a8bdc2e10ad6c942f3f1dbbbb77c126578a41bd3 (patch) | |
tree | 2a4b6f1ee4242f3e78d72d5c7457ed03f38e0965 /.ycm_extra_conf.py | |
parent | b01bcc7d3d680856bd60c4ae03e4ba3f6d889cb2 (diff) | |
download | pacman-a8bdc2e10ad6c942f3f1dbbbb77c126578a41bd3.tar.gz pacman-a8bdc2e10ad6c942f3f1dbbbb77c126578a41bd3.tar.xz |
Build signature remote name based on the main payload name
The main payload final name might be affected by url redirects or
Content-Disposition HTTP header value.
We want to make sure that accompanion *.sig filename always matches the
package filename. So ignore finalname/Content-Disposition for the *.sig file.
It also helps to fix a corner case when the download URL does not contain
a filename and server provides Content-Disposition for the main payload
but not for the signature payload.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions