Open alexlarsson opened 7 years ago
I wish ostree could set the http origin header to the ref when fetching files as part of a pull. For instance, it could set it to the url of the ref file. This would make it a lot easier to analyze http logs to get download stats for an ostree repo.
The HTTP Origin header only permits a host with no path. The Referer header would be more suitable for a ref URL:
Origin: <scheme> "://" <hostname> [ ":" <port> ] Referer: <url>
I wish ostree could set the http origin header to the ref when fetching files as part of a pull. For instance, it could set it to the url of the ref file. This would make it a lot easier to analyze http logs to get download stats for an ostree repo.