getsolus / solbuild

The Solus package build system
https://getsol.us
Apache License 2.0
19 stars 12 forks source link

Add Accept header to HTTP requests #61

Closed ReillyBrogan closed 8 months ago

ReillyBrogan commented 8 months ago

While debugging why netfilter.org was returning a 403 with the Solbuild client I noticed that wget (which succeeded) was sending the Accept: */* header. When I added it to Solbuild it started working. This header should be safe to send in all circumstances as it merely indicates that we're willing to accept any content-type (which we are).