I would downvote the input type=url
validation aspect in favor of reference to external declarative validation rule with declarative request/response.
Still the input type="url"
has a sense as type of field and particular case for input type="httprequest"
with request parameters default to accept=xxx
by content-type, method="get"
, …
The trouble comes in the need for another request parameters set for validation. Which is same heavy as input value request itself.
If we would give a preference to proposed particular implementation , how it fits to generic approach and would it conflict with generic use?
PS. OPTIONS http method is not necessary the best for image sniffing. LIST on the container would be more efficient for the list of images and can be cached. Of course the validation URL would be different.