CMSgov / price-transparency-guide-validator

Validation tool to check output files required by the price-transparency-guide
Apache License 2.0
30 stars 14 forks source link

Use file extension at end of URL if content-type is unhelpful #88

Closed mint-thompson closed 1 year ago

mint-thompson commented 1 year ago

When downloading a file to validate, the content-type header may not always be directly useful for determining how to proceed. If the header is set to application/octet-stream or is unavailable, make a guess based on the ending of the provided URL.

shaselton-usds commented 1 year ago

Looks good.