Validate HTTP responses before parsing as schema content
Check status codes and Content-Type headers when fetching remote $ref
targets over HTTP. Returns clear error messages for HTTP errors (4xx/5xx)
and unexpected HTML responses instead of cryptic YAML parse errors.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>