flatpak-builder
flatpak-builder copied to clipboard
[Feature request]: Add option to select HTTP protocol version for sources downloads
Checklist
- [X] I agree to follow the Code of Conduct that this project adheres to.
- [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Suggestion
I am trying to update one of my Flatpaks, however the update fails on HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) which seems to (probably) be a server issue. It would be great if there was a way to force old HTTP/1.1 version instead of HTTP/2 or at least try the download over older HTTP/1.1 as a fallback when HTTP/2 fails on similar error.
This is very weird and a specific bug on a specific site. I don't think it makes sense at all to expose such details to build manifests.
Hm, I kind of agree. On the other hand, it would be good to have some work arounds in these corner cases. Or maybe at least an option to enable verbose (curl -v) output?
Another possible solution could be a fallback to HTTP/1.1 when HTTP/2 has some problem.
Thats more reasonable, not much harm in a retry.