| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Standards
Standards.URI

# Class Standards.URI

Description

  This class implements URI parsing and resolving of relative references to absolute form, as defined in RFC 2396 and RFC 3986.

Variable scheme

  `string Standards.URI.scheme`

Description

  Scheme component of URI

Variable authority

  `string Standards.URI.authority`

Description

  Authority component of URI (formerly called net_loc, from RFC 2396 known as authority)

Variable path

  `string Standards.URI.path`

Description

  Path component of URI. May be empty, but not undefined.

Variable query

  `string Standards.URI.query`

Description

  Query component of URI. May be 0 if not present.

Variable fragment

  `string Standards.URI.fragment`

Description

  The fragment part of URI. May be 0 if not present.

  `string Standards.URI.host`
  `string Standards.URI.user`
  `string Standards.URI.password`

Description

  Certain classes of URI (e.g. URL) may have these defined

Variable port

  `int Standards.URI.port`

Description

  If no port number is present in URI, but the scheme used has a default port number, this number is put here.

Variable base_uri

  `this_program Standards.URI.base_uri`

Description

  The base URI object, if present