Commit Graph

61 Commits (f610adfc145f20177af6c95196e46837784f13af)

Author SHA1 Message Date
Austin Collier 9786820474 Misunderstanding with $config
10 months ago
Austin Collier f4c5405d1b little changes to requests and integration testing JSON POST requests
10 months ago
n0nag0n 4d4c0d5420 added helpers to req/resp and cleaned up phpcs/stan errors
11 months ago
n0nag0n df90d69787 so many phpcs fixes. No more, no more!
1 year ago
n0nag0n ff6fa74d51 Merge branch 'master' into easier-access-to-request-headers
1 year ago
n0nag0n 2db95a0d7b added getHeaders()
1 year ago
n0nag0n 537ea032d8 request header shortcut and lots of unit test fixes for phpcs
1 year ago
fadrian06 7015e5d3ba Moved copyright and license to a public place :D
1 year ago
fadrian06 44a056ca30 Fixed phpcs format problems in the rest of Flight modules
1 year ago
Austin Collier cc4338a34b added PSR12 coding style to files.
1 year ago
fadrian06 2d6079c177 Added typehints to Request::class
1 year ago
n0nag0n 1e4c07da52 correct unit test and removed final keywords
1 year ago
n0nag0n 83d33348e0 old array syntax cleanup and legacy json serializable removal
1 year ago
n0nag0n 2d4c7d4bcd a few cleanup comments
1 year ago
n0nag0n 7991530761 Route alias and phpstan updates
1 year ago
n0nag0n a416bfe19b 100% coverage for Request and Route
1 year ago
n0nag0n 0d026b16d1 added test for unique subdir setup in request
1 year ago
fadrian06 fbcc9108c2 DocBlocks improved
1 year ago
Mike Cao a130231646
Merge pull request #456 from jamalo/master
3 years ago
Mike Cao fc43bfb4ea
Update flight/net/Request.php
3 years ago
Michal Hybner 21a0c55375 Fix JSON request with empty body
3 years ago
Jamal d2a92aa808 Fix PHP 8.1: Assign string to int propety
3 years ago
Masroor Ehsan b7abb4945f check for valid json input
3 years ago
Masroor Ehsan a2c5dd5ede minor refactorings
4 years ago
Masroor Ehsan 04e471bf46 PHP ^7.4|^8.0 compatibility
4 years ago
Andreas Kugel 0145f629d3
Enable DELETE method to receive request body
5 years ago
Mike Cao da8eaefc63
Merge pull request #398 from hlidotbe/feature/request-host
6 years ago
Hugues Lismonde b4c9c42b00
Add host to request
6 years ago
Hugues Lismonde e0dfb7406d
Fix request schem
6 years ago
Mike Cao 1feeb95ff2 Encode reserved @ character in URLs.
9 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
Daniel Stelljes 54440d1db0 Removed static body variable from Request
10 years ago
Daniel Stelljes 703536d2bf Set up request body caching
10 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 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
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 5ba910981f Allow HTTP method overriding.
11 years ago
Mike Cao 3fde3685c5 Formatting.
11 years ago
Eric Anderson 1a0eede079 Use $_SERVER instead of getenv.
11 years ago
Mike Cao 2d6a04d514 Made default properties into class variables.
12 years ago
Mike Cao d41795cbdc Updated handling of subdirectories and redirects.
12 years ago
Mike Cao 84078158c3 Introduced new Engine class.
12 years ago