Commit Graph

46 Commits (ba0c6bda3310436139b9fd6fd5137b0c6489c2ca)

Author SHA1 Message Date
fadrian06 fbcc9108c2 DocBlocks improved
1 year ago
Masroor Ehsan 5b8e743e3d refactorings
4 years ago
Masroor Ehsan 04e471bf46 PHP ^7.4|^8.0 compatibility
4 years ago
juneszh c649964d95
add content_length configuration
4 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
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
Yassine Addi a0d749276f Fix redirect method due to a mistake removing backslashes
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
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
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 7c50eb7cfb Passing to a non-matching route should return a 404.
10 years ago
Mike Cao ef76d72b56 Added ability to get all saved variables.
10 years ago
Mike Cao c0fa0bed7c Redirects should always consider the base directory.
11 years ago
Mike Cao d84e51ba47 Updated route object passing functionality.
11 years ago
Mike Cao b10b294d83 Added method to get the application object instance.
11 years ago
Mike Cao 7817255a61 Added ability to get splat from URL pattern.
11 years ago
Mike Cao b8e400e1be Converted JSONP config into a parameter. Fixed incorrect content type.
11 years ago
Mike Cao 777ac096ec JSON method should send a clean response.
11 years ago
Mike Cao 86d1ea20e4 Fixed reference to $this.
11 years ago
Mike Cao 001c8ec301 Fixed error with calling stop method.
11 years ago
Mike Cao 6fe4e32fee Added additional options for JSON methods.
11 years ago
Eric Anderson 1a0eede079 Use $_SERVER instead of getenv.
11 years ago
ozh 258e56b4ec Use $this
11 years ago
ozh 5e0627f41b Coding style (same white space as original file)
11 years ago
ozh 4ccfe8c386 JSONP support
11 years ago
Mike Cao 988d4f5631 Exception should be thrown and not handled.
12 years ago
Mike Cao 2ce369cb50 Flush existing output before the start method.
12 years ago
Mike Cao 3a4a30e879 Updated check for base_url.
12 years ago
Mike Cao d41795cbdc Updated handling of subdirectories and redirects.
12 years ago
Mike Cao 93d7602b20 Removed caching from halt method.
12 years ago
Mike Cao b4a9d6f70e Fixed issue with 304 caching. Fixed PHP 5.3 compatibility.
12 years ago
Mike Cao 2050027db6 Cleaned up initialization process.
12 years ago
Mike Cao 84078158c3 Introduced new Engine class.
12 years ago