ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
749 stars 142 forks source link

httpclientx: couple cloudfront host and URL #2727

Closed bassosimone closed 1 month ago

bassosimone commented 1 month ago

The current design is such that the host header for cloudfronting is set as part of Config and the URL travels alone. This prevents us from using a list of URLs some of which require cloudfronting and some of which do not. To fix this issue, we just need to couple the cloudfront host header with the URL rather than with the config. This work is part of https://github.com/ooni/probe/issues/2700.