d5459cbcb9
cors: Add specific support for supporting all origin
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-11-15 09:56:34 +00:00
01a916eb2d
socket: Set time out and forcibly close timed out sockets. Fix tests for different node versions
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-11-03 22:52:09 +00:00
598548d97b
random generator benchmark
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-10-07 11:49:41 +00:00
8a49e38285
Update 'README.md'
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-09-28 10:39:12 +00:00
6d4d62e79c
test: Add test for buffer support
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-05-11 11:12:23 +00:00
7401b3bd2c
requestEnd: Add proper support for buffers in body
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-05-11 09:50:52 +00:00
95e6c2dcac
Test: Update tests on formidable errors
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-01-26 09:26:12 +00:00
74771d92cf
Formidable: Now return 400 BadRequest HttpError instead of generic error.
continuous-integration/appveyor/branch AppVeyor build failed
2023-01-26 09:23:10 +00:00
2b69013c04
remove .only()
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-08-10 14:29:51 +00:00
8a56969015
Fix FormidableHandler so it detects filetype based on extension if type is unknown or application octet-stream.
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-08-10 14:13:14 +00:00
5f916e97ea
Formidable: Better handling for file uploads. Now supports multiple keys
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-07-06 14:50:54 +00:00
baf2d896c1
Update eltro, clean up a few tests
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-07-04 13:24:19 +00:00
e9c600b869
Flaska: Add support for appendHeaders
in constructor.
...
continuous-integration/appveyor/branch AppVeyor build succeeded
* Allows to append individual headers to the defaultHeaders without completely
replacing the default values.
2022-06-16 09:59:30 +00:00
568c620782
Flaska: Add support for appendHeaders to compliment default headers instead of completely replacing them
2022-06-16 09:58:11 +00:00
0c22fe9577
Final fix unit tests
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-05-12 16:44:37 +00:00
3a0064c563
Fix test for new default header
continuous-integration/appveyor/branch AppVeyor build failed
2022-05-12 16:42:54 +00:00
e7909cc84b
flaska: Add better default font-src with self and data: support.
continuous-integration/appveyor/branch AppVeyor build failed
2022-05-12 16:40:14 +00:00
4820347cfb
req: Fix bug where it would call requestEnded when request was closed. This behavior is normal during the middle of a request
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-04-07 11:27:44 +00:00
cffca53eb6
test: Fix tests that were relying on aborted log message. These are spammy and normal and shouldn't be logged
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-04-02 19:47:39 +00:00
3a454d44ce
onreqerror: Do not log aborted "errors"
continuous-integration/appveyor/branch AppVeyor build failed
2022-04-02 19:40:46 +00:00
975646d336
Flaska: If http server supports listenAsync (service-core for example) then use that instead of callback listen()
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-27 14:48:11 +00:00
b97e34c1eb
Flaska: HEAD request support across the board.
...
continuous-integration/appveyor/branch AppVeyor build succeeded
Flaska: Set status to 204 if status is 200 and body is null
Flaska: Fix implementation of how content-type is set
FileResponse: Don't open file if running HEAD request
2022-03-27 00:30:56 +00:00
d4bac4940e
FileResponse: Pre-build range regex and re-use it for performance benefits
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-26 15:59:48 +00:00
499cfa8ce0
FileResponse: Completely finished all HTTP/1.1 support for file handling including range, preconditions, modified and so much more.
...
continuous-integration/appveyor/branch AppVeyor build succeeded
Flaska: Refactored how headers and status are sent.
2022-03-26 15:50:18 +00:00
cfd56f83ae
requestEnd: Now properly supports ctx.headers and properly sends all headers to res with status code using writeHead
...
continuous-integration/appveyor/branch AppVeyor build succeeded
FileResponse: Initial development started to serve files
2022-03-25 13:26:13 +00:00
acb099868b
CorsHandler: Finished implementing a full CORS support
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-24 15:50:31 +00:00
7b682e8e95
Constructor: Support for defaultHeaders was added with default secure options.
...
continuous-integration/appveyor/branch AppVeyor build succeeded
CSP: Added smart CSP support with nonce support as well. Can generate unique nonce values for each request.
CorsHandler: Started development of basic cors handler.
2022-03-24 09:29:54 +00:00
e50e9f8a94
Flaska: Add basic head support
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-21 07:34:01 +00:00
28b4f6ea33
Flaska: Testing and Version 1.0.0 released
...
continuous-integration/appveyor/branch AppVeyor build succeeded
Added JsonHandler
Added FormidableHandler
Fixed a bunch of request handling
2022-03-17 15:09:22 +00:00
9c43b429c4
flaska: Add jsonhandler and basic httperror class
...
continuous-integration/appveyor/branch AppVeyor build succeeded
flaska: Add promise-based listen and close methods
2022-03-16 10:41:25 +00:00
5a28a0cf78
appveyor: Add build scripts and remove circleci
continuous-integration/appveyor/branch AppVeyor build failed
2022-03-13 02:06:06 +00:00
6cd511cbce
Increment version
2022-01-05 14:06:36 +00:00
f1cff5d9ea
Add 404 support and some more error handling
2022-01-05 14:06:06 +00:00
1290069287
0.9.7
2021-10-11 03:17:02 +00:00
76b3852aeb
hopefully last fix for request ended logic
2021-10-11 03:16:40 +00:00
3b7af0f290
circleci: Change naming slightly
2021-10-11 02:15:52 +00:00
6d10d07489
Add circleci auto tests
2021-10-11 02:14:29 +00:00
1cb65de3dd
0.9.6
2021-10-11 02:06:35 +00:00
ed5ca5e756
hopefully fix so after gets called after every request
2021-10-11 02:06:22 +00:00
6b42415a41
0.9.5
2021-10-10 23:53:01 +00:00
2d7b3ed440
requestStart: Fix so requestEnded gets called with ctx
2021-10-10 23:52:51 +00:00
3a48c88c3a
0.9.4
2021-10-10 21:32:20 +00:00
c3b7447024
requestEnd: Fix detection on when response is finished
2021-10-10 21:32:15 +00:00
6fe5a7272d
0.9.3
2021-10-10 20:38:20 +00:00
89c96e2ad4
QueryHandler: Added new handy query handler middleware
2021-10-10 20:38:12 +00:00
e5ca7e5d74
0.9.2
2021-10-10 20:08:50 +00:00
f0454d11c2
onerror: Goes back to normal end request routine after onError finishes
2021-10-10 20:08:43 +00:00
a56513b772
0.9.1
2021-10-10 19:58:04 +00:00
6569ff75de
ctx: Add missing log to context
2021-10-10 19:57:48 +00:00
91588fc3ee
Update package again :)
2021-10-10 02:30:23 +00:00