Commit Graph

667 Commits

Author SHA1 Message Date
vibr 4d7f10960c fix typo 2004-08-11 19:38:16 +00:00
vibr 7b6f5675af allow header in 405 answers 2004-08-11 14:53:11 +00:00
vibr 880a05229c -adapt calls of make-error-response
-allow header in 405 answers
-answer 501, not 405, for unimplemented/unrecognized methods
2004-08-11 14:51:51 +00:00
vibr 5f64e72cd0 make-error-response:
more meaningful error description: show parsed uri
2004-08-11 14:48:11 +00:00
vibr 3abe557a86 make-error-response in response.scm uses http-url->string 2004-08-11 14:45:32 +00:00
vibr 8b09f2b338 -adapt calls of make-error-response
-answer 501, not 405, for unimplemented/unrecognized methods
2004-08-11 12:28:46 +00:00
vibr f22f43ccd1 make-error-response:
use stuff in req where req isn't #f
2004-08-11 10:17:14 +00:00
vibr 2ee378aea9 add comments:
-make clear difference between http-error and
fatal-syntax-error
-refer to make-error-response for args of http-error
2004-08-11 09:20:31 +00:00
vibr a3dd880c7a +catch calls of make-error-response with too few arguments 2004-08-10 14:26:50 +00:00
vibr 4b37826de8 +comment/question 2004-08-10 14:25:55 +00:00
vibr 1bdac52ad6 adapt calls of make-error-response: remove tautologous description of errors 2004-07-30 22:26:50 +00:00
vibr 7c7be57a22 changes to make-error-response:
(1)no special treatment of first "optional" argument
- rationale: a different number of args is required depending on the
specific error code

(2)use close-html to write out all _effectively_ optional args

(3)generated html-pages are valid XHTML 1.0 Strict

(4)require header Allow for 405 errors

(5)more exact descriptions of errors in generated html-pages

TODO: handle calls of make-error-response with too little args
2004-07-30 22:25:03 +00:00
vibr 63e4761c58 adapt calls of make-error-response:
no URI header field in 1.1
2004-07-29 16:09:31 +00:00
vibr 5e14a326b9 adapt make-error-response:
- no URI header field in 1.1
- new 30x status codes in 1.1
2004-07-29 16:08:30 +00:00
vibr f96d93b355 re-commit revision 1.22, this time to branch http-1-1 2004-05-27 14:47:46 +00:00
vibr e4a887d491 Revert last commit. 2004-05-24 15:54:58 +00:00
vibr a2a656ad99 1.0->1.1: updated status codes 2004-05-24 15:42:13 +00:00
vibr 1bd77d4b10 added comments 2004-05-17 16:42:45 +00:00
vibr 96216b243d answer HTTP/1.0 for requests with unknown HTTP-version 2004-05-17 16:39:17 +00:00
interp 7a04cf81d5 Omit warning message if INFOPATH is not set. 2004-05-12 19:28:17 +00:00
interp e13ad264bc Omit warning message if MANPATH is not set. 2004-05-12 19:28:04 +00:00
sperber 0db253e1a1 Add hack for the benefits of ftpds on AFS directories, to enable
anonymous-upload directories:

We don't list a directory unless the Unix permissions would allow us
to.
2004-03-26 13:46:56 +00:00
mainzelm 6cf0413f98 Export a whole bunch of procedures from the low-level interface of the
DNS library.
2004-03-24 20:53:19 +00:00
mainzelm 222f5c5052 Return 'unsupported-message-type if message type is unknown, return
'unsupported-message-class if message class is unknown.

This makes it possible to parse replies that contain IP6 addresses in
the additional section.
2004-03-24 20:52:12 +00:00
mainzelm a65a5c5f86 Fixed severe bug in WITH-LOCK. Noted by Taylor Campbell 2004-03-16 07:30:14 +00:00
mainzelm f328c0537f In copy-ascii-port->port, get length of line only after checking for EOF. 2004-02-17 16:07:22 +00:00
mainzelm a65dbd70e4 On restart, set the file port to unbuffered mode before seeking to
work around scsh limitiation.
2004-02-10 12:27:57 +00:00
interp 1fe7ec1e6f Moving SUrflets webserver to top level,
adjusting startup scripts and documentation accordingly.
Replaced index.html (small & no content) by index2.html.
2004-02-02 17:49:37 +00:00
mainzelm ed74e197ee The annotation of an address is not put into the URL so URI escaping
it is superfluous and wrong.
2004-02-02 17:37:01 +00:00
mainzelm b65323b81b URI escape address annotations 2004-02-02 10:24:05 +00:00
mainzelm ff5bca073d Added a missing port argument. 2004-02-02 10:22:21 +00:00
mainzelm 2066f225bf Fixed parsing of comments in resolv.conf 2004-02-02 10:21:20 +00:00
mainzelm cf8911921d Fixed bug in send-receive-message-tcp where a WITH-HANDLER was called
with erroneous arguments.
2004-01-27 16:29:42 +00:00
interp 5ece0109b1 another todo task (tell about cygwin) 2004-01-22 00:48:11 +00:00
interp 63d708b219 Move SUrflet howto into main documentation.
Merge 2 decls.tex together.
Drawback: can't use url package anymore.
2004-01-17 01:35:16 +00:00
interp 25e03fe5e4 More example files for the surflet howto. 2004-01-15 03:47:39 +00:00
interp 721fee4e07 More howto. Draft like version. 2004-01-15 03:46:27 +00:00
interp 05a17e07d7 Use own decls.tex for HowTo. Might merge with doc/decls.tex in the future. 2003-11-21 19:10:12 +00:00
interp 8baad2666f Initial version of How To Use SUrflets.
Needs still some additions.
2003-11-21 19:09:36 +00:00
interp 52e0a557e2 Some example files mentioned in the howto. 2003-11-21 19:09:12 +00:00
interp 07ef3aa5c2 SSAX (and we) need this patch to work. 2003-11-21 19:05:54 +00:00
interp 25fa9fbca5 Make it a bit more portable.
Change default port from webcache to http-alt.
2003-11-21 19:05:02 +00:00
interp 73dfefd439 Exclude some LaTeX files 2003-11-21 19:03:54 +00:00
interp c2109e2e67 Adjust MAKE-RESUME-URL and
DEFAULT-MAKE-SESSION-TIMEOUT-TEXT to surflets that are
in subdirectories.
2003-11-18 20:25:59 +00:00
mainzelm 217596b510 Return text/css for files with .css extension. 2003-10-24 08:16:07 +00:00
mainzelm a5d9b210f0 Fixed wrong parentheses in FTP-APPEND 2003-10-21 05:44:56 +00:00
cresh 6f52781aa6 * added dns-check-nameservers
* fixed alists in send-receive-message-tcp
* fixed and added documentation
2003-08-19 14:36:08 +00:00
interp c42a467ce5 Sorry for the messed up previous commits. Here are the collected messages:
Insert forgotten point to argument list of MAKE-SELECT, making the last
arguments optional. This was the reason for a "bug" in admin-surflet.scm.

Remove bug from MAKE-SELECT;
  MAKE-SELECT used the wrong argument name in calls to
  make-multiple-select or make-single-select, respectively.
2003-08-01 18:00:51 +00:00
interp 0ffbe611dc Sorry for the messed up previous commits. Here are the collected messages:
* Use "Internal Error" instead of "Bad Gateway" as the surflet handler is not a
gateway.
* Thus, rename BAD-GATEWAY-ERROR-RESPONSE to BAD-SURFLET-ERROR-RESPONSE.
Move SESSION-ADJUST-TIMEOUT from SEND/SUSPEND to RESUME-URL where it belongs to.
Let SET-SESSION-DATA! raise an error, if the instance isn't alive anymore (instead of returning #t or #f).
Add small comment to RESET-SESSION-TABLE!
Remove unused variable in DELETE-CONTINUATION!
Remove superfluous FILE-NAME-NON-DIRECTORY from RESUME-URL, as RESUME-URL-IDS uses this anyway.
Small change in error message in MAKE-HTTP-RESPONSE.
2003-08-01 17:59:27 +00:00
interp 64ef783d8d `cat ~/diff-sunet/$num/log` 2003-08-01 17:41:11 +00:00