Re: Mime type detection in URIInputParameter.check

Does anyone monitor this list?

> On Jun 30, 2016, at 8:00 PM, Jeremy Weber <jeremy@northpage.com> wrote:
> 
> On lines 103-106  there is a precheck that issues a head request to the target url.   In some instances, this check will return a different mime type than what the ultimate get request would return.   A case that illustrates is a Unicorn General Conformance check to https://www.verizonwireless.com/smartphones/ <https://www.verizonwireless.com/smartphones/>, a head request here returns application/json as the mime type which in effect cancels the test ( as that is not a valid mime type for any of the observers).    I suspect that it can simply use GET instead of HEAD but don’t know if this is exactly a bug or not.   Is this a bug or something that could be addressed?
> 
> Thanks
> 
> Jeremy

Received on Friday, 1 July 2016 16:48:27 UTC