1
0
Commit Graph

51 Commits

Author SHA1 Message Date
0e78ec4787 return cors headers for 404 response as well 2024-09-28 02:19:07 +02:00
9451f466fc move test file to tests directory 2024-01-20 02:27:50 +01:00
09d5586cc6 add more tests 2024-01-20 02:15:55 +01:00
110bfdd95c even more tests 2024-01-20 02:15:55 +01:00
c68a979614 working on testing 2024-01-20 02:15:55 +01:00
a4fd646d6b remove connect and trace methods 2024-01-20 02:15:34 +01:00
606d5f1cb2 clean up 2023-11-16 22:38:51 +01:00
dc88d900cb fix default extension types 2023-11-14 14:54:04 +01:00
e9a0a2436d use body multiple times 2023-10-31 16:45:31 +01:00
Toby
a5ccf0fc01 support Access-Control-Allow-Credentials and vary CORS headers, thanks @akreiling 2023-09-29 10:14:07 +00:00
Andrew Kreiling
c7d7a642e6 support Access-Control-Allow-Credentials and vary CORS headers 2023-09-28 07:52:34 -05:00
Andrew Kreiling
49c7897bd0 use a new buffer for every invocation of handle 2023-09-28 07:52:14 -05:00
34f4512dee allow for context extension 2023-05-25 19:52:31 +02:00
02b65e85e6 clean up 2023-05-25 17:35:11 +02:00
0c7f04d71b make body reusable 2023-03-15 22:04:06 +01:00
3a955af1bc fix cors edge case 2023-02-21 15:45:12 +01:00
db22422968 add arrayBuffer, text, formData, blob 2023-02-21 15:44:49 +01:00
8bd8e50ee5 update 2023-02-05 02:11:09 +01:00
2ad75dc3fb move things around, update body behavior 2023-02-05 01:46:20 +01:00
33cafbf17c update replace to be case insensitive 2023-02-02 20:53:02 +01:00
b0d05656bb add bearer helper function 2023-02-02 20:37:58 +01:00
51f30f642f clean up 2023-02-02 18:37:45 +01:00
bcab122e15 add dbg to handler context 2023-02-02 18:37:28 +01:00
f3181ca9a5 change || to ?? 2023-02-02 18:31:33 +01:00
7edfc835fa change interfaces to types 2023-02-02 18:30:03 +01:00
864b7f153c extend request type 2023-01-16 21:26:42 +01:00
87a3d344d9 add req.raw type 2022-11-28 23:09:12 +01:00
5f34e30c1e add raw request 2022-11-28 23:04:12 +01:00
2a064dcb9c make cf ctx optional 2022-11-28 21:27:25 +01:00
c41e3e95f9 clean up 2022-11-25 01:13:22 +01:00
61ad67766f switch to return syntax 2022-11-25 01:13:22 +01:00
c6dfaa3158 add editorconfig 2022-11-25 01:13:22 +01:00
215a3731da switch to return syntax 2022-11-25 01:10:51 +01:00
ad4557ecb3 add editorconfig 2022-11-25 00:58:21 +01:00
81dd03af27 ocd 2022-11-24 23:33:48 +01:00
efd74609f1 add default any 2022-11-24 17:36:33 +01:00
e8212b5fa8 rename T to TEnv 2022-11-24 16:02:17 +01:00
Anbcodes
972dc916f7 added the ability to specify the type of RouterContext.env 2022-10-06 15:57:18 -04:00
aadb398b48 drop default export 2022-10-03 00:32:54 +02:00
45a781ea66 clean up 2022-10-03 00:01:13 +02:00
7f44f304a2 remove explicit authorization header 2022-10-02 23:57:52 +02:00
a786262ec6 fix cors 2022-10-02 23:50:48 +02:00
e94e84a742 fix cors always on issue 2022-09-29 18:48:23 +02:00
b16a56bbca minor type fixes 2022-07-19 18:51:31 +02:00
53f8365993 add types 2022-06-28 12:04:45 +02:00
feec3390ab cors fix, clean up 2022-06-27 09:34:12 +02:00
fb562f2743 clean up 2022-06-26 02:22:29 +02:00
7a01ce6ff2 clean up 2022-06-26 02:16:37 +02:00
0f64bb510c add chaining ability to debug 2022-06-26 01:21:47 +02:00
574c91dfd2 clean up 2022-06-26 00:14:37 +02:00