onc-healthit / inferno-community

Archived source code for the Inferno Testing Tool and the Community Edition set of tests. No longer maintained.
https://inferno.healthit.gov/
Apache License 2.0
92 stars 35 forks source link

Unclear results from MIME type checks #244

Open jmandel opened 5 years ago

jmandel commented 5 years ago

image

Server response included:

content-type: application/json;charset=utf-8

If the "charset=utf-8" weren't there, would this be acceptable? Does the charset make it wrong per Inferno?

radamson commented 4 years ago

Good question. If the charset wasn't there that would still be acceptable and the test should pass. I don't see a requirement that would make including the charset wrong. Any thoughts on that @arscan?

Relevant test is here: https://github.com/onc-healthit/inferno/blob/03882b4136e02d0c46ac00985d58b813b904c17e/lib/app/modules/us_core_guidance/us_core_r4_capability_statement_sequence.rb#L92