Commit Graph

56 Commits (da6540bbdd3b64a28de0606da7b530d0013f281c)

Author SHA1 Message Date
Austin Collier b6220f7dc8 Added ability to handle file uploads in a simple way
5 months ago
n0nag0n 4a93c661a8 corrected the cache behavior in some areas
6 months ago
Austin Collier ba80e047b1 prettified and added max-age=0
7 months ago
Austin Collier f06febdb2d changed default cache behavior
7 months ago
n0nag0n 77d313190d added unit test, corrected other response logic
10 months ago
Belle Aerni 3659a76106 Fix content length when using response body callbacks
10 months ago
Austin Collier 9be596f0bf lots of phpcs errors to fix
10 months ago
Austin Collier 7fca8d9a45 added ability to convert the response body
10 months ago
fadrian06 62f15baf55 Merge branch 'master' into dispatcher-refactor
10 months ago
n0nag0n 47cd98e78e added ability to overwrite the body
11 months ago
fadrian06 2474371e35 Merge branch 'master' into dispatcher-refactor
11 months ago
Austin Collier 788ddb6137 added streaming responses. Fixed JSONP.
11 months ago
fadrian06 253c86482e Fixed yoda comparisons
11 months ago
n0nag0n 4d4c0d5420 added helpers to req/resp and cleaned up phpcs/stan errors
11 months ago
n0nag0n feee086e2b initial commit to overhaul output buffering
11 months ago
n0nag0n df90d69787 so many phpcs fixes. No more, no more!
1 year ago
fadrian06 7015e5d3ba Moved copyright and license to a public place :D
1 year ago
fadrian06 84877b34f4
Merge pull request #530 from flightphp/async-related
1 year ago
fadrian06 44a056ca30 Fixed phpcs format problems in the rest of Flight modules
1 year ago
Austin Collier c6754dfe59 added some methods to help with async frameworks
1 year ago
Austin Collier cc4338a34b added PSR12 coding style to files.
1 year ago
fadrian06 4744d6435d Removed unused docblocks in Response::class
1 year ago
n0nag0n 2d4c7d4bcd a few cleanup comments
1 year ago
n0nag0n 7b15d2cfca 100% coverage for net classes
1 year ago
fadrian06 42ec161d8a Added code format
1 year ago
fadrian06 fbcc9108c2 DocBlocks improved
1 year ago
Masroor Ehsan dd73a61c32 FIX: Typed property flight\net\Response::$body must not be accessed before initialization
3 years ago
Masroor Ehsan a2c5dd5ede minor refactorings
4 years ago
Masroor Ehsan 04e471bf46 PHP ^7.4|^8.0 compatibility
4 years ago
juneszh ed9bbed287
add content_length configuration
4 years ago
Mike Cao e146b8c0dd Prevent response from sending more than once.
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
Edward Brosens afbf306336 add getter for protected headers property
10 years ago
Seth Battin bb11ca47bc include pragma='no-cache' in the cache header reset
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
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
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 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
Eric Anderson 1a0eede079 Use $_SERVER instead of getenv.
11 years ago
Mike Cao 8ca9b2d76d Setting status should not send headers.
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 84078158c3 Introduced new Engine class.
12 years ago