Kris Katterjohn
9bbf48d084
(chibi net server-util): file-mime-type: fix load-mime-types call
...
Use find instead of any so load-mime-types will get the filename
instead of #t when a mime.types file is found. Otherwise an error
occurs in load-mime-types.
2019-10-01 20:00:36 -05:00
Alex Shinn
003d3d3328
clarifying default config params for http-server
2019-01-06 08:45:48 +08:00
Alex Shinn
c9b4786648
fix default chibi.net.http-server file server for paths other than .
2019-01-03 07:39:08 +08:00
Alex Shinn
b5331233cb
adding missing status response in http-send-directory (thanks to Martin Hayman)
2018-11-19 22:06:43 +08:00
Alex Shinn
3f9dfb7837
fixing call to call-with-temp-file for HEAD requests
2018-11-06 15:09:18 +08:00
Alex Shinn
1f805fd3ae
log ip address of clients in net servers
2018-01-11 22:05:44 +09:00
Alex Shinn
ba0d15ec14
adding (print-stack-trace exn) for http internal errors
2017-08-25 00:01:03 +09:00
Alex Shinn
6d3ae7a28e
replacing (srfi 142) with (srfi 151)
2017-08-21 22:32:57 +09:00
Alex Shinn
c80a1ece92
moving make-generated-binary-input-port to (chibi io)
2017-06-29 14:17:58 +09:00
Alex Shinn
39bf3cecc7
fixing make-generated-binary-input-port for non-zero buffer start, including query in http-get (issue #418 )
2017-06-26 23:32:04 +09:00
Masanori Ogino
361e8e6590
Remove argv[0] from the arguments of main_symbol.
...
While the (command-line) in (scheme process-context) contains the
command name (argv[0]), SRFI 22 specifies that the interpreter passes
the command-line arguments except argv[0] to the script.
Fix #413 .
Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2017-06-10 08:54:49 +09:00
Alex Shinn
eb79e98d20
adding (srfi 142), using that in place of (srfi 33)
2017-04-16 22:06:56 +09:00
Alex Shinn
c03ae08bbd
various portability improvements
2017-03-26 16:00:31 +09:00
Alex Shinn
7b88bdca36
disjoint cursor bugs in server-util
2016-05-08 16:03:43 +09:00
Alex Shinn
76d088d260
adding simple example http server to docs
2015-07-06 23:33:00 +09:00
Alex Shinn
2ee9b3098d
servlet uri query parsing should handle + as space
2015-07-06 23:26:00 +09:00
Alex Shinn
64f3be9c99
use blocking io by default in snow
2015-06-22 20:51:20 +09:00
Alex Shinn
4ea94fa51d
Forgot to import temp-file.
2015-04-24 23:12:06 +09:00
Alex Shinn
a8848793e4
Adding a preserve thunk to call-with-temp-file/dir.
2015-04-24 22:52:13 +09:00
Alex Shinn
6a3179ec42
Various snow bugfixes.
2015-04-21 00:01:46 +09:00
Alex Shinn
57e657a48d
forgot to pass config to rewrite rules
2015-02-11 20:20:40 +09:00
Alex Shinn
7d897bbf15
request-with-uri should reparse request params
2015-02-11 20:19:49 +09:00
Alex Shinn
ed458469a7
Fixing index file handling to take the index relative to the url, not the search path.
2015-02-11 19:05:35 +09:00
Alex Shinn
5e9dea5c50
fixing bug in http server
2015-02-08 16:04:55 +09:00
Alex Shinn
2922ed591d
Forgot to install regexp (patch from Lorenzo)
2015-01-26 08:06:59 +09:00