rpm-software-management / librepo

A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format
http://rpm-software-management.github.io/librepo/
GNU Lesser General Public License v2.1
74 stars 90 forks source link

NEL support? #279

Open cicku opened 1 year ago

cicku commented 1 year ago

Hi,

Is there any plan to support NEL, so mirror admins may receive some alerts when there is a network issue?

https://w3c.github.io/network-error-logging/#nel-response-header

evan-goode commented 1 year ago

Interesting idea, this feature could definitely be useful for mirrors. I'm transferring this issue to https://github.com/rpm-software-management/librepo since it would need to be implemented there.

evan-goode commented 1 year ago

I don't see any mention of NEL being supported in libcurl, I guess it's too high-level a feature, and something we would have to implement ourselves.

NEL, being a form of telemetry, also has implications to user privacy, and we would want to carefully consider whether it should be enabled by default.