Commit Graph

33 Commits

Author SHA1 Message Date
b68bbd3bfb Implemented custom response headers for WebServerRequest. 2023-07-08 21:11:56 +02:00
a7f1f3356c Re-extracted class docs pt2. 2023-06-13 16:51:37 +02:00
71c00ae64f Fix string parameter parsing in multipart forms, also make multipart form content fields case independent. 2023-04-16 23:30:13 +02:00
a76df86ef3 Parse and process http headers in a case insensitive manner in HTTPParser. 2023-03-22 21:31:57 +01:00
517a5b9044 Added more mimetypes to the HTTPServerSimple. 2023-03-22 14:00:18 +01:00
1cb112f64c Properly handle non-ascii characters in uris in HTTPParser. 2023-03-22 13:59:58 +01:00
3fccbc6d23 Now post and get parameters can be set / changed in requests from scripts aswell. 2023-03-22 13:20:25 +01:00
5e17f2041d Use the new helper method in HTTPServerConnection::send(). 2023-03-20 22:34:43 +01:00
c6ef898c46 Fix Content-Length calculation in HTTPServerConnection::send when using non-ascii utf-8 characters. 2023-03-20 21:50:40 +01:00
a155e44491 Implement max request size limit for HTTPServerSimple. 2023-03-18 11:52:25 +01:00
ddcf36addd Fixed multi threading + https in HTTPServerSimple. 2023-02-19 16:04:08 +01:00
e5f31bde7d Implement sending keep alive connection type if a connection has more than one request for HTTPServerSimple. Also more togglable debugging. 2023-02-19 15:11:29 +01:00
0e651dd4fd Pre-create the required folders for the self signed cert files automatically. 2023-02-19 11:53:14 +01:00
ab9ae594c2 Set a better self signed cert path for the HTTPServerSimple. 2023-02-19 11:42:37 +01:00
4551061c17 Set _server_quit in WebServerSimple the way it was intended to be used. 2023-02-19 11:41:43 +01:00
4ededb6a34 Added optional protocol error logging to HTTPParser. Also remove unnecessary error. 2023-02-19 11:20:13 +01:00
8b4fc877a0 Added protocol error handling to the http server simple. 2023-02-19 10:34:39 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
76802a25b2 Added COPYRIGHT.txt for the http_server_simple module. 2022-12-31 20:19:10 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
38a36b3c70 Added get request parameter support for WebServerRequest. 2022-12-21 14:52:11 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
76141ee7e7 Small improvements to the simple web server. 2022-08-26 14:52:56 +02:00
a1974c8338 Re-extracted the class docs. 2022-08-23 13:09:12 +02:00
06e040120a Fix int sign comparison warning. 2022-08-23 00:45:20 +02:00
b0da59764d Added proper multi part form parsing support for the simple web server. 2022-08-22 22:16:32 +02:00
2ef28475cd Fix mimetype handling in the simle server. Also added a few misisng ones. 2022-08-22 14:37:40 +02:00
714547cb17 Re-extracted class docs. 2022-08-21 00:40:49 +02:00
1ef37c61c2 Moved http server simple to it's own module. 2022-08-19 22:09:30 +02:00