validate_http_sink

Function validate_http_sink 

Source
fn validate_http_sink(
    is_append_only: bool,
    ignore_delete: bool,
    schema: &Schema,
    url: &str,
    content_type: Option<&str>,
    headers: &BTreeMap<String, String>,
) -> Result<(Url, HeaderMap)>
Expand description

Validates the HTTP sink parameters and returns the parsed URL and default headers so callers can use them directly without re-parsing.