c9c45eae6e 
								
							 
						 
						
							
							
								
								better comment  
							
							
							
						 
						
							2005-04-06 22:47:14 +00:00  
				
					
						
							
							
								 
						
							
								9342e0e593 
								
							 
						 
						
							
							
								
								*replace call of PARSE-REQUEST-URI (relict of old URL parser)  
							
							... 
							
							
							
							with call of URL-STRING->HTTP-URL 
							
						 
						
							2005-04-06 22:45:48 +00:00  
				
					
						
							
							
								 
						
							
								2dcdd41ed9 
								
							 
						 
						
							
							
								
								*reinsert lost line  
							
							... 
							
							
							
							*replace calls of UNESCAPE-URI (relict of old URL parser) with UNESCAPE
*simplify URI-HAS-PROTOCOL? 
							
						 
						
							2005-04-06 22:43:53 +00:00  
				
					
						
							
							
								 
						
							
								512ccfaed3 
								
							 
						 
						
							
							
								
								removal of old URL parser relicts:  
							
							... 
							
							
							
							*replace calls of UNESCAPE-URI with UNESCAPE
*remove imports of uri package where no longer needed 
							
						 
						
							2005-04-06 22:41:10 +00:00  
				
					
						
							
							
								 
						
							
								745a123735 
								
							 
						 
						
							
							
								
								adapt code to remove calls of URI-PATH->URI (relict of old URL parser)  
							
							
							
						 
						
							2005-04-06 12:32:17 +00:00  
				
					
						
							
							
								 
						
							
								61a63b4d4b 
								
							 
						 
						
							
							
								
								adapt URI-HAS-PROTOCOL? to new URL parser  
							
							
							
						 
						
							2005-04-06 11:59:05 +00:00  
				
					
						
							
							
								 
						
							
								0de6fe79b4 
								
							 
						 
						
							
							
								
								replace calls of HTTP-URL->STRING (relict of old URL parser)  
							
							... 
							
							
							
							with calls of HTTP-URL->URL-STRING 
							
						 
						
							2005-04-06 11:44:28 +00:00  
				
					
						
							
							
								 
						
							
								17a46a7e71 
								
							 
						 
						
							
							
								
								rename URI-STRING->HTTP-URL to URL-STRING->HTTP-URL  
							
							
							
						 
						
							2005-04-06 11:35:37 +00:00  
				
					
						
							
							
								 
						
							
								9399bf9397 
								
							 
						 
						
							
							
								
								remove MY-REPORTED-PORT (relict of old URL parser)  
							
							
							
						 
						
							2005-04-05 18:45:02 +00:00  
				
					
						
							
							
								 
						
							
								3548b25c26 
								
							 
						 
						
							
							
								
								rename HTTP-URL-SEARCH to  HTTP-URL-QUERY (adaption to restructured  
							
							... 
							
							
							
							http-url type in url.scm) 
							
						 
						
							2005-04-04 21:13:35 +00:00  
				
					
						
							
							
								 
						
							
								46645ccd58 
								
							 
						 
						
							
							
								
								*remove definition of PARSE-REQUEST-URI (relict of Olin's old URL parser)  
							
							... 
							
							
							
							*use URI-STRING->HTTP-URL instead 
							
						 
						
							2005-04-04 21:07:55 +00:00  
				
					
						
							
							
								 
						
							
								d864e4da80 
								
							 
						 
						
							
							
								
								correct reference in comment  
							
							
							
						 
						
							2005-04-04 20:57:36 +00:00  
				
					
						
							
							
								 
						
							
								53e3e9672f 
								
							 
						 
						
							
							
								
								adapt to RFC terminology:  
							
							... 
							
							
							
							rename PARSE-HTTP-SERVERS-URL-FRAGMENT to PARSE-REQUEST-URI
rename variable uri-string to request-uri 
							
						 
						
							2004-10-05 10:24:29 +00:00  
				
					
						
							
							
								 
						
							
								cd22ab11d4 
								
							 
						 
						
							
							
								
								Corrected bug: SEVAL now generates a response-body even if the request's body isn't  
							
							... 
							
							
							
							form-url encoded or doesn't contain a program 
							
						 
						
							2004-08-15 12:44:55 +00:00  
				
					
						
							
							
								 
						
							
								44100cbf5e 
								
							 
						 
						
							
							
								
								Added type NO-BODY for responses which must not contain a message-body  
							
							... 
							
							
							
							(201, 304, 404). Added export of type-predicate no-body?.  Adapted
SEND-HTTP-RESPONSE to check for no-body responses. Extended
MAKE-ERROR-RESPONSE to make responses 201, 304, 404. 
							
						 
						
							2004-08-15 11:03:28 +00:00  
				
					
						
							
							
								 
						
							
								0bb601a0e0 
								
							 
						 
						
							
							
								
								make server-generated webpages XHTML 1.0 Strict: emit prolog  
							
							... 
							
							
							
							(not tested) 
							
						 
						
							2004-08-14 22:08:07 +00:00  
				
					
						
							
							
								 
						
							
								ef48e4e5ae 
								
							 
						 
						
							
							
								
								make-host-name-handler now uses get-header from sunet-utilities.scm  
							
							
							
						 
						
							2004-08-14 22:03:19 +00:00  
				
					
						
							
							
								 
						
							
								8cf841bad3 
								
							 
						 
						
							
							
								
								rename get-content-length to get-body-length-from-content-length  
							
							... 
							
							
							
							move get-body-length-from-content-length and get-numeric-field-value
from seval.scm to sunet-utilities.scm
adapt packages.scm 
							
						 
						
							2004-08-14 21:58:11 +00:00  
				
					
						
							
							
								 
						
							
								f8559581d2 
								
							 
						 
						
							
							
								
								GET-NUMERIC-FIELD-VALUE now uses GET-HEADER from utilities.scm  
							
							... 
							
							
							
							and returns #f if GET-HEADER does so
adapted GET-CONTENT-LENGHT 
							
						 
						
							2004-08-14 21:18:12 +00:00  
				
					
						
							
							
								 
						
							
								aea0e950ba 
								
							 
						 
						
							
							
								
								removed definition of GET-HEADER which conflicted with definition of  
							
							... 
							
							
							
							GET-HEADER in utilities.scm and wasn't exported anyway 
							
						 
						
							2004-08-14 20:54:57 +00:00  
				
					
						
							
							
								 
						
							
								ffbe3b21cd 
								
							 
						 
						
							
							
								
								factor out parsing of content-length header value -> GET-CONTENT-LENGTH  
							
							... 
							
							
							
							generalize parsing of content-length header value to parse all header field
values of the form 1*DIGIT -> GET-NUMERIC-FIELD-VALUE
check for valid content-length header in SEVAL before answering 200
TODO: SEVAL is still buggy for request with invalid _body_ 
							
						 
						
							2004-08-14 19:07:23 +00:00  
				
					
						
							
							
								 
						
							
								9fcfcf36f0 
								
							 
						 
						
							
							
								
								add comments explaining why seval-handler is buggy  
							
							
							
						 
						
							2004-08-14 15:47:29 +00:00  
				
					
						
							
							
								 
						
							
								06ec0f0293 
								
							 
						 
						
							
							
								
								server-generated webpages -> XHTML 1.0 Strict:  
							
							... 
							
							
							
							add XML namespace declaration to html element 
							
						 
						
							2004-08-13 15:49:19 +00:00  
				
					
						
							
							
								 
						
							
								96f0ae41d5 
								
							 
						 
						
							
							
								
								-move XHTML stuff from responses.scm to htmlout.scm  
							
							... 
							
							
							
							-don't use WRITE-STRING with \n (\n within strings is not in R5RS),
instead use FORMAT with ~%
-use EMIT-PROLOG and EMIT-TAG from htmlout.scm 
							
						 
						
							2004-08-13 15:37:31 +00:00  
				
					
						
							
							
								 
						
							
								a9ae5061d0 
								
							 
						 
						
							
							
								
								make server generated html pages XHTML 1.0 Strict:  
							
							... 
							
							
							
							element names -> lower case 
							
						 
						
							2004-08-13 15:26:50 +00:00  
				
					
						
							
							
								 
						
							
								4d7f10960c 
								
							 
						 
						
							
							
								
								fix typo  
							
							
							
						 
						
							2004-08-11 19:38:16 +00:00  
				
					
						
							
							
								 
						
							
								7b6f5675af 
								
							 
						 
						
							
							
								
								allow header in 405 answers  
							
							
							
						 
						
							2004-08-11 14:53:11 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								5f64e72cd0 
								
							 
						 
						
							
							
								
								make-error-response:  
							
							... 
							
							
							
							more meaningful error description: show parsed uri 
							
						 
						
							2004-08-11 14:48:11 +00:00  
				
					
						
							
							
								 
						
							
								8b09f2b338 
								
							 
						 
						
							
							
								
								-adapt calls of make-error-response  
							
							... 
							
							
							
							-answer 501, not 405, for unimplemented/unrecognized methods 
							
						 
						
							2004-08-11 12:28:46 +00:00  
				
					
						
							
							
								 
						
							
								f22f43ccd1 
								
							 
						 
						
							
							
								
								make-error-response:  
							
							... 
							
							
							
							use stuff in req where req isn't #f 
							
						 
						
							2004-08-11 10:17:14 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								a3dd880c7a 
								
							 
						 
						
							
							
								
								+catch calls of make-error-response with too few arguments  
							
							
							
						 
						
							2004-08-10 14:26:50 +00:00  
				
					
						
							
							
								 
						
							
								4b37826de8 
								
							 
						 
						
							
							
								
								+comment/question  
							
							
							
						 
						
							2004-08-10 14:25:55 +00:00  
				
					
						
							
							
								 
						
							
								1bdac52ad6 
								
							 
						 
						
							
							
								
								adapt calls of make-error-response: remove tautologous description of errors  
							
							
							
						 
						
							2004-07-30 22:26:50 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								63e4761c58 
								
							 
						 
						
							
							
								
								adapt calls of make-error-response:  
							
							... 
							
							
							
							no URI header field in 1.1 
							
						 
						
							2004-07-29 16:09:31 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								f96d93b355 
								
							 
						 
						
							
							
								
								re-commit revision 1.22, this time to branch http-1-1  
							
							
							
						 
						
							2004-05-27 14:47:46 +00:00  
				
					
						
							
							
								 
						
							
								e4a887d491 
								
							 
						 
						
							
							
								
								Revert last commit.  
							
							
							
						 
						
							2004-05-24 15:54:58 +00:00  
				
					
						
							
							
								 
						
							
								a2a656ad99 
								
							 
						 
						
							
							
								
								1.0->1.1: updated status codes  
							
							
							
						 
						
							2004-05-24 15:42:13 +00:00  
				
					
						
							
							
								 
						
							
								1bd77d4b10 
								
							 
						 
						
							
							
								
								added comments  
							
							
							
						 
						
							2004-05-17 16:42:45 +00:00  
				
					
						
							
							
								 
						
							
								96216b243d 
								
							 
						 
						
							
							
								
								answer HTTP/1.0 for requests with unknown HTTP-version  
							
							
							
						 
						
							2004-05-17 16:39:17 +00:00  
				
					
						
							
							
								 
						
							
								7a04cf81d5 
								
							 
						 
						
							
							
								
								Omit warning message if INFOPATH is not set.  
							
							
							
						 
						
							2004-05-12 19:28:17 +00:00  
				
					
						
							
							
								 
						
							
								e13ad264bc 
								
							 
						 
						
							
							
								
								Omit warning message if MANPATH is not set.  
							
							
							
						 
						
							2004-05-12 19:28:04 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								b65323b81b 
								
							 
						 
						
							
							
								
								URI escape address annotations  
							
							
							
						 
						
							2004-02-02 10:24:05 +00:00  
				
					
						
							
							
								 
						
							
								ff5bca073d 
								
							 
						 
						
							
							
								
								Added a missing port argument.  
							
							
							
						 
						
							2004-02-02 10:22:21 +00:00  
				
					
						
							
							
								 
						
							
								5ece0109b1 
								
							 
						 
						
							
							
								
								another todo task (tell about cygwin)  
							
							
							
						 
						
							2004-01-22 00:48:11 +00:00