Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Enums UriParseRules

1
2
3
4
5
6
7
8
9
module juptune.http.uri;

enum UriParseRules : int
{
    /// Strict parsing rules as defined in RFC 3986, may be too strict for common use cases. 
    strict = 0, 
    /// It is common for applications to accept URIs in the form "abc.com/path" as absolute URIs, this is technically not allowed by RFC 3986 and is referred to as a "URI Suffix". 
    allowUriSuffix = 1
}

Documentation

A set of rules that can be used to control the behaviour of the URI parser.

This is typically because typical use cases are slightly different than the strict parsing rules defined in RFC 3986.

ON THIS PAGE