Sam Ford 4ed2eb6811
curl: handle multiple Content-Type headers
`#curl_http_content_headers_and_checksum` contains code that works
with a `Content-Type` header in a response but it expects there to
always be only one header in the response. This is normally a
reasonable assumption but we've come across a server that is giving
a response with multiple `Content-Type` headers in the response, so
this produces an error and causes `brew audit` to fail when checking
the URL.

This works around the issue by naively using the last `Content-Type`
header in the response when there's more than one. It's not something
that should normally occur but this will handle the situation when it
does.
2024-10-19 18:02:06 -04:00
..
2023-06-16 10:33:15 +01:00
2024-09-27 14:44:40 -07:00
2024-09-04 06:14:32 +01:00
2024-04-28 02:37:18 -04:00
2024-09-03 04:11:29 +01:00
2023-08-12 22:01:22 -07:00
2024-06-14 12:22:02 +01:00
2023-07-18 08:52:49 -07:00
2024-08-10 12:59:51 +01:00
2024-07-17 18:00:20 -04:00