Commit Graph

108 Commits (eefcd2b55a468f336e88541296e788b79ffc55d9)

Author SHA1 Message Date
Stefan Meinecke 5e284a1d9c Updated class comment.
11 years ago
Mike Cao 81041d418b JSON request input is now stored in the data property.
11 years ago
Mike Cao da40e03eb4 Removed the body property from the Request class.
11 years ago
Mike Cao d84e51ba47 Updated route object passing functionality.
11 years ago
Mike Cao ab2aba4e7d Added method to get the request body.
11 years ago
Mike Cao 0f49cc7abc Converted helper methods to public and static.
11 years ago
Cuonic d097c21dcb Fixed code to work when body is empty
11 years ago
Cuonic a8f50e2f4b Fixed problem with Request Json array
11 years ago
Quang Nhut Lam-Nguyen bed3824192 Change getVar() function from private to public
11 years ago
Mike Cao b10b294d83 Added method to get the application object instance.
11 years ago
Berkus Decker c0c7b9dcd9 Modify Request based on feedback from Mike.
11 years ago
Berkus 62c4f2fa0b Add support for parsed JSON property in Request.
11 years ago
Mike Cao b9b2d0fa2d Added ability to register callbacks for class instantiation.
11 years ago
Mike Cao 6b6397764d Use array in str_replace call.
11 years ago
Mike Cao 6239ab4d80 Prevent collision of $template variable.
11 years ago
Pascal Borreli 2648a5216e Fixed typos
11 years ago
Micah Wood 3a4c0c72bf Simplify output buffering code
11 years ago
Mike Cao fdb88e842a Fixed documentation.
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 30195237e5 Reverted response handling.
11 years ago
Mike Cao 6a1029a187 Response should only be sent once.
11 years ago
Mike Cao b8026d9828 Sending a response should not exit the program.
11 years ago
Mike Cao 5ba910981f Allow HTTP method overriding.
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
Mike Cao 6696c0d267 Dispatcher should check for valid callback.
11 years ago
Mike Cao 3fde3685c5 Formatting.
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 7e1a098f6c Autoloader should not throw exceptions.
12 years ago
Mike Cao 988d4f5631 Exception should be thrown and not handled.
12 years ago
Mike Cao 8ca9b2d76d Setting status should not send headers.
12 years ago
Mike Cao 2d6a04d514 Made default properties into class variables.
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 1acb68756c Remove duplicates from loader directories.
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
Mike Cao a04020d50e Fix line feeds.
12 years ago
Mike Cao f64774881f Fixed issue with url pattern matching.
12 years ago
Mike Cao 28ae5e0aec Added route passing functionality.
12 years ago
kafene 69e5dab546 Don't let header fields clobber eachother
12 years ago