Commit Graph

164 Commits (b4c9c42b0069868a13538bac7ec45ec805084488)

Author SHA1 Message Date
Hugues Lismonde b4c9c42b00
Add host to request
6 years ago
Delyan Angelov 0daa3f81b5 Allow cyrillic letters in the routes, by matching the result of urldecode over the URL .
6 years ago
Alex Shadie e25f023d43 Fixed exception catching (php < 7)
7 years ago
Alex Shadie d3067e5eae Some improvements for PHPdoc
7 years ago
jqs ccf4858573 Removed extraneous ->write($url) call on redirect that was causing Safari to bugger out qwhen using HTTP2, which it tends to handle more strictly.
7 years ago
Uriy Efremochkin cc72d9a081
Code style fix
7 years ago
Uriy Efremochkin 4841466656
Fix for Doc
7 years ago
kouts 98c105d009 Update Engine.php
7 years ago
kouts 53f0c1671d Update Engine.php
7 years ago
Mike Cao e146b8c0dd Prevent response from sending more than once.
7 years ago
Mike Cao 5b4916d4e3 Fix conflict with external error handlers.
7 years ago
Mike Cao 7ae2011723 Sending response should not exit to allow pre-stop filters.
7 years ago
Mike Cao 1c8d06cc42 Response content-length header should use mbstring if available.
8 years ago
Yassine Addi a0d749276f Fix redirect method due to a mistake removing backslashes
8 years ago
Mike Cao c3c6f68909 Removed another case of $route passing. Updated tests.
8 years ago
Mike Cao 6aea7394c4 Remove $route from parameter list, only pass when dispatching callback.
8 years ago
Mike Cao 9c8d492799 Removed JSON encode depth parameter to keep PHP 5.3 compatibility.
8 years ago
Mike Cao b30d5e5fa2 Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Shane Armstrong a9ced778ee #203 - Executing an unmapped method within the engine dispatcher now throws an Exception, clarified the return class of Flight::app()
8 years ago
Shane Armstrong b7b929bf99 #290 - JSON methods now support encode option/depth, added missing arguments to json/jsonp method documentation, _json/_jsonp methods now list arguments on individual lines to remain PSR-2 compliant
8 years ago
Mike Cao ec24d78602 Allow static methods to be called using a string.
9 years ago
susuper bf7b6d6431 Changed Last-Modified HTTP header format
9 years ago
Mike Cao f3fa0513fe Updated error handling for PHP 7.
9 years ago
Mike Cao b96aaa7967 Added charset option for JSON requests.
9 years ago
Yuri Tkachenko d191ca821e fix namespace ref
9 years ago
Yuri Tkachenko 561542f068 Redirects > Request & Response
9 years ago
Yuri Tkachenko 6242b54edb added request(), response(), router(), view() @method reference to
9 years ago
Mike Cao b9dfda3fd6 Do not send a new response for json requests.
9 years ago
Mike Cao cabbb25fcc Added support for custom template file extensions.
9 years ago
Mike Cao 7fd3594ac7 Added ability to perform case sensitive matching of URLs.
9 years ago
Mike Cao 1feeb95ff2 Encode reserved @ character in URLs.
9 years ago
Mike Cao 486ec7c689 Application now initialized in Flight::app() instead of __callStatic.
9 years ago
Edward Brosens afbf306336 add getter for protected headers property
10 years ago
Yuriy Tkachenko b187f3564f Correct PHPDoc for phpStorm
10 years ago
Seth Battin bb11ca47bc include pragma='no-cache' in the cache header reset
10 years ago
Mike Cao 10750b5ce3 getBody should check for PATCH method.
10 years ago
Mike Cao a32f2c2087 getMethod should return uppercase string.
10 years ago
Mike Cao 0c8b665304 Bump version. Minor syntax update.
10 years ago
everflux 268cf0cb66 Provide content-length header if response has a body
10 years ago
Mike Cao 7c50eb7cfb Passing to a non-matching route should return a 404.
10 years ago
Alexander c4ab005462 Added list of methods for autocomplete
10 years ago
Erwin 2f4210ad3f Using multiple template paths
10 years ago
Daniel Stelljes 54440d1db0 Removed static body variable from Request
10 years ago
Daniel Stelljes 703536d2bf Set up request body caching
10 years ago
Mike Cao ef76d72b56 Added ability to get all saved variables.
10 years ago
Lars-Jørgen Kristiansen d5e808a495 fixed message for http code 306
11 years ago
Lars-Jørgen Kristiansen b8a1c1e163 added all HTTP status codes from http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
11 years ago
Lars-Jørgen Kristiansen e6ed90e3fb Added more HTTP status codes
11 years ago
Mike Cao 64d384ddff Splat should consider trailing slash in URLs.
11 years ago
Mike Cao 88f4c1fb71 Fixed issue with splats when used with named parameters.
11 years ago