http_aliases


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ NoAccessorMethod ]
[ Version ( since = "2.44" ) ]
public string[] http_aliases { owned get; set; }

A null-terminated array of URI schemes that should be considered to be aliases for "http".

Eg, if this included "dav", than a URI of dav://example.com/path would be treated identically to http://example.com/path. In particular, this is needed in cases where a client sends requests with absolute URIs, where those URIs do not use "http:".

The default value is an array containing the single element "*", a special value which means that any scheme except "https" is considered to be an alias for "http".

See also https_aliases.