Commit Graph

143 Commits (eaa9c99dd711ca5c4fd077a2e193b06625f6d87f)

Author SHA1 Message Date
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
Mike Cao 7745f6a34c Merge pull request #141 from pine3ree/patch-1
11 years ago
maks feltrin bcb5b120a9 Update Router.php
11 years ago
maks feltrin 229cbd24f5 replacing array_push with faster []
11 years ago
kafene 3392751dba Add support for getting request status
11 years ago
kafene 71f66b4d5d Add support for HTTP status code 418 (Permanent Redirect)
11 years ago
Mike Cao c0fa0bed7c Redirects should always consider the base directory.
11 years ago
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