aboutsummaryrefslogtreecommitdiffstats
path: root/Http
Commit message (Collapse)AuthorAgeFiles
* Quality: Happy new year!Alexis von Glasow2017-01-122
|
* Quality: Run devtools:cs.Ivan Enderlin2016-01-092
|
* Core: Remove `Hoa\Core`.Ivan Enderlin2016-01-091
|
* Parameters: Use `Hoa\Zformat`.Ivan Enderlin2016-01-081
|
* Consistency: Use `Hoa\Consistency`.Ivan Enderlin2015-12-081
|
* `getDomain` uses HTTP_HOST instead of SERVER_NAME.camael242015-08-031
| | | | | | | | | | | | | | | | | The `SERVER_NAME` variable does not contain the subdomain all the time, and more importantly, it does not really contain the domain at all. For instance: # $_SERVER['SERVER_NAME'] === "sub.foo.app" server_name sub.foo.app other.foo.app; # $_SERVER['SERVER_NAME'] === "foo.app" server_name foo.app bar.foo.app; # $_SERVER['SERVER_NAME'] === "*.foo.app" server_name *.foo.app foo.app; So we fallback to `HTTP_HOST` as before.
* Filter protected variables when unrouting.Ivan Enderlin2015-07-301
| | | | | | | | | Previous commit transformed unused variables as query strings when unrouting. However, the `unroute` method also receives protected variables (such as `_domain`, `_query` and also `_this` for the kit in case of a dispatcher etc.). This commit filters unused variables to remove protected variables.
* Fix CS.Ivan Enderlin2015-07-301
|
* Append unused variables to the querystring when unrouting rulesKévin Gomez2015-07-161
|
* Move to PSR-1 and PSR-2.Ivan Enderlin2015-05-202
|
* Decode URI after having splitted subdomain & URI.Ivan Enderlin2015-02-261
| | | | | | | | | | | | We can use `@` to specify a subdomain and a URI (for instance `sub@/uri/`) in the same `$uri`. Previously, we decoded URI before splitting the subdomain and the URI. Consequently, if a URI contains `%40`, being `@`, everything at the left of `%40` will be considered as a subdomain, and therefore, it is highly likely to fail the routing. Now we decode URI after having splitted the subdomain and the URI.
* Complete HTTP methods (match IANA list).Ivan Enderlin2015-02-172
| | | | | See the following list: http://www.iana.org/assignments/http-methods/http-methods.xhtml.
* Sort HTTP methods to ease the reading.Ivan Enderlin2015-02-171
|
* Add the Hoa\Router\Http\Dav router!Ivan Enderlin2015-02-171
| | | | | | | | | | | | | Since the DAV family (WebDAV, CalDAV and CardDAV) is an extension to HTTP, the `Hoa\Router\Http\Dav` class simply extends `Hoa\Router\Http` and defines new methods: * PROPFIND, * PROPPATCH, * MKCOL, * COPY, * MOVE, * LOCK, * UNLOCK.
* Allow to define new HTTP methods in sub-classes.Ivan Enderlin2015-02-171
|
* Move Hoa\Router\Http to Hoa\Router\Http\Http.Ivan Enderlin2015-02-171