#41849: port 2.2.1: Error: org.macports.archivefetch for port libiconv returned: Failed to fetch signature for archive: The requested URL returned error: 400 Bad Request -----------------------------+------------------------- Reporter: itslaksh@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------+------------------------- Comment (by vincent.emanuele@…): According to http://stackoverflow.com/questions/356705/how-to-send-a -header-using-a-http-request-through-a-curl-call, it looks like we could force curl to put the Host and Accept in the header by adding: {{{ curl --header "Host: packages.macports.org" --header "Accept: */*" <keep the rest of the curl call the same> }}} This may be a band-aid on the underlying problem, but I'll take it if it works. Do you have any suggestions for work-arounds? I suppose manually downloading the package is an idea? -- Ticket URL: <https://trac.macports.org/ticket/41849#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X