Commit graph

35 commits

Author SHA1 Message Date
09fc6b3958 Fixed routes with similar regexes not being able to match. 2024-04-02 17:27:06 +00:00
9b57fbb42c Removed old router code. 2024-03-30 16:24:34 +00:00
9d5b050b89 Revert to implicitly supporting HEAD.. 2024-03-28 23:27:04 +00:00
3fcedb55ef Alternative attempt at support HEAD requests. 2024-03-28 23:22:39 +00:00
0472625a00 Attempt to make trailing slash optional. 2024-03-28 23:07:17 +00:00
77ab1e7f9f Switch default charset to UTF-8 again. 2024-03-28 22:35:49 +00:00
ce855061ec Added content and error handling. 2024-03-28 22:30:06 +00:00
add621716a Fixed full match not being removed from args list. 2024-03-28 20:33:41 +00:00
a5cfba6b96 Today I learned: attribute declaration does not inherit. 2024-03-28 20:23:09 +00:00
bcc7e8066a Fixed inheritance. 2024-03-28 20:19:54 +00:00
8a5059c7ec Fixed is_array being used instead of array_key_exists. 2024-03-28 20:16:18 +00:00
5cda6fbe25 Fixed PHPStan detections. 2024-03-28 20:14:54 +00:00
154d82de02 Fixed typo. 2024-03-28 20:10:21 +00:00
1efb379601 Work in progress router rewrite. 2024-03-28 20:01:34 +00:00
e31781c69f Always use UTF-8 for HTML if no content type is specified. 2023-11-20 19:01:19 +00:00
1c2058e199 Deprecated IString. 2023-11-09 12:58:04 +00:00
f71f3fcf9e Revert "Reverted Router changes."
This reverts commit d9f7cd5037.
2023-09-11 20:34:16 +00:00
d9f7cd5037 Reverted Router changes. 2023-09-11 20:32:16 +00:00
405724ec3f Removed router merging. 2023-09-11 20:08:15 +00:00
3dbf0fa85f More adjustments to path handling. 2023-09-11 19:44:34 +00:00
c57d2a49f2 Attempt to fix URL parsing edge case. 2023-09-11 19:25:29 +00:00
bb4d3e80b0 Fixed HttpFx not becoming available to registerRoutes. 2023-09-07 23:57:14 +00:00
2b8b31289d Added interface for route handlers. 2023-09-06 11:49:54 +00:00
6a38f803f4 Added hasUploadedFile method to FormContent. 2023-08-22 00:04:20 +00:00
208446b544 Added getParamString method to FormContent. 2023-08-21 20:26:56 +00:00
a4c1d5627e Added hasCookie method to HttpRequest. 2023-08-16 23:03:01 +00:00
4aae77900b Simplify serialisation. 2023-07-21 21:47:41 +00:00
99a4e0c302 Removed Max-Age cookie field for now. 2023-01-10 21:51:54 +00:00
f244121e0b Removed Max-Age cookie field for now. 2023-01-10 21:50:54 +00:00
30064e6891 Default to RFC3986 encoding for getParamString in HttpRequest. 2023-01-07 19:03:43 +00:00
f8c6602ab9 Added interface for common router methods. 2023-01-06 20:20:59 +00:00
6e09904013 Actually run precommit this time. 2023-01-05 02:34:41 +00:00
884d2cb9da Added ability to remove cookies. 2023-01-05 02:33:24 +00:00
d166428729 Replaced uses of floatval and intval with casts. 2023-01-01 19:00:00 +00:00
ac2255d24d Imported into new repository. 2022-09-13 15:13:11 +02:00