X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FUrl.md;h=f6f1c143ffad165103f3f9938915bcc8d27efb86;hb=4a09ec24441c7d918d0a62c60e11616ffa0db744;hp=71d41e111b6613b74457df07a607bae86f1cb016;hpb=594e4eea4c360ce54300e9f6030a715bc52b0029;p=mdref%2Fmdref-http diff --git a/http/Url.md b/http/Url.md index 71d41e1..f6f1c14 100644 --- a/http/Url.md +++ b/http/Url.md @@ -2,20 +2,6 @@ The http\Url class provides versatile means to parse, construct and manipulate URLs. -## Changelog: - -Version | Changes ---------|-------- -2.2.0 | Added parser constants:
http\Url::PARSE_MBUTF8,
http\Url::PARSE_MBLOC (on systems with wide character support),
http\Url::PARSE_TOPCT,
http\Url::PARSE_TOIDN (with libidn support). - -## Backwards compatibility - -### New parser in v2.2.0 - -PHP's [parse_url()](http://php.net/parse_url) is avoided since v2.2.0. - -Creating an empty url by `new http\Url(NULL, NULL, 0)` will not result in `http://localhost/` anymore but in an empty URL instead. - ## Constants: * REPLACE @@ -52,6 +38,13 @@ Creating an empty url by `new http\Url(NULL, NULL, 0)` will not result in `http: Parse and convert multibyte hostnames according to IDNA (with libidn support). * PARSE_TOPCT Percent encode multibyte sequences in the userinfo, path, query and fragment parts of the URL. +* IGNORE_ERRORS + Continue parsing when encountering errors. +* SILENT_ERRORS + Suppress errors/exceptions. +* STDFLAGS + Standard flags used by default internally for e.g. http\Message::setRequestUrl(). + Enables joining path and query, sanitizing path, multibyte/unicode, international domain names and transient percent encoding. ## Properties: