http_aliases


Description:

[ NoAccessorMethod ]
[ Version ( since = "2.38" ) ]
public string[] http_aliases { set; owned get; }

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 a plain Session, the default value is null, meaning that only "http" is recognized as meaning "http". In SessionAsync and SessionSync, for backward compatibility, 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.