mirror of
1
Fork 0
forgejo/routers/api
Giteabot ce3a24ef5f
Add `HEAD` support for rpm repo files (#28309) (#28360)
Backport #28309 by @KN4CK3R

Fixes https://codeberg.org/forgejo/forgejo/issues/1810

zypper uses HEAD requests to check file existence.

https://github.com/openSUSE/libzypp/blob/HEAD/zypp/RepoManager.cc#L2549

https://github.com/openSUSE/libzypp/blob/HEAD/zypp-curl/ng/network/private/downloaderstates/basicdownloader_p.cc#L116

@ExplodingDragon fyi

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit 5105d2093c)
2023-12-08 13:41:16 +01:00
..
actions Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00
forgejo/v1 [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
packages Add `HEAD` support for rpm repo files (#28309) (#28360) 2023-12-08 13:41:16 +01:00
v1 Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00