Commit Graph

39 Commits (98db908ba5e519dfacd0e15ddddcc5adf4e4fdbb)

Author SHA1 Message Date
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
kafene 69e5dab546 Don't let header fields clobber eachother
12 years ago
Mike Cao cec890c585 Code cleanup
12 years ago
Mike Cao c6fdc21bd8 Fixed PHP notice error
12 years ago
Mike Cao 5f98e1e06c Fixed issue with setting status codes.
12 years ago
Mike Cao 830088733d Fixed PHP notices
13 years ago
Mike Cao e2f1dc99bb Major refactoring, implemented namespaces
13 years ago