Commit Graph

134 Commits

Author SHA1 Message Date
vibr 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
vibr 17a46a7e71 rename URI-STRING->HTTP-URL to URL-STRING->HTTP-URL 2005-04-06 11:35:37 +00:00
vibr 5836ae567b export HTTP-URL-PATH->PATH-STRING in url-interface 2005-04-05 18:45:53 +00:00
vibr e5c8cae17f rename HTTP-URL->URI-STRING to HTTP-URL->URL-STRING 2005-04-05 10:59:13 +00:00
vibr d0c64d371a further restrict url-interface 2005-04-04 21:10:05 +00:00
vibr 69948e9561 adapt definitions of interfaces and structures to new URI
parsing framework
2004-10-18 18:33:19 +00:00
vibr d9950a9b0b remove PARSE-URI from exports of module uri 2004-10-06 19:08:19 +00:00
vibr 38f2594ba5 emit less newlines 2004-08-15 12:40:06 +00:00
vibr ffac0ebcac simplified get-numeric-field-value (now uses string-trim-both),
adapted packages.scm
2004-08-15 11:49:15 +00:00
vibr 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
vibr 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
vibr c089e26e96 move XHTML stuff from responses.scm to htmlout.scm, adapt
packages.scm
2004-08-13 15:34:00 +00:00
vibr 3abe557a86 make-error-response in response.scm uses http-url->string 2004-08-11 14:45:32 +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
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
mainzelm ef3a8af150 Added httpd-options-post-bind-thunk. 2003-02-20 17:52:27 +00:00
interp da98c4b78c factor out GET-HEADER 2003-02-19 17:05:16 +00:00
mainzelm 45223c1d81 Created structure ips for ip-string related procedures. 2003-02-10 12:30:43 +00:00
sperber 0e7152b68b Finally fix MAKE-HOST-NAME-HANDLER to the point where it works and has
been tested.
2003-02-10 12:02:11 +00:00
mainzelm 1503017988 Removed system-fqdn from sunet-utilities and internet-address->fqdn from dns. 2003-02-10 10:44:59 +00:00
sperber 44322977fc Add HTTPD-INPUT-RESPONSE response values. 2003-02-06 15:05:15 +00:00
sperber fe25e5a307 In web server, rename LOGFILE -> LOG-FILE. 2003-01-30 16:09:20 +00:00
sperber 6e5f9ed278 - Make the handlers in HTTPD-FILE-DIRECTORY-HANDLERS do something
sensible without a set of icons.
- Make the options arguments to the handlers in
  HTTPD-FILE-DIRECTORY-HANDLERS optional.
2003-01-29 10:08:25 +00:00
sperber 730053c6bc Remove duplicate OPEN clause for LET-OPT. 2003-01-29 09:56:36 +00:00
sperber 301d6ff4c3 Get rid of HTTPD-OPTIONS-ICON-NAME which I'd forgotten about. 2003-01-29 07:54:44 +00:00
sperber 022ea25ba6 Rework once again how content types, content encodings, icons etc. are
handled in the file/directory request handlers:

- HTTPD-FILE-DIRECTORY-HANDLERS now has its own options argument
- the ICON-NAME HTTPD option is gone (effectively moved to the above)
- determination of content type/encoding is now configurable
2003-01-28 15:16:20 +00:00
sperber eb20aec688 Clean up logging in ftpd:
- hold relevant data in new SERVER-STATE fluid
- specify log destination as a port, not a file
2003-01-28 10:49:45 +00:00
sperber 5f4c1b510b Rename TIME->HTTP-DATE-STRING to RFC822-TIME->STRING.
(Missed by sperber, noticed by bernauer.)
2003-01-24 09:48:37 +00:00
sperber 3fb74214f8 Rename CGI-SCRIPT -> CGI-SCRIPTS. 2003-01-22 10:44:56 +00:00
sperber 565376310b In SMTP-SEND-MAIL, signal a condition instead of returning funny reply
codes upon failure.
2003-01-22 09:29:55 +00:00
sperber c58f265b5b Rename HTTPD-ERROR -> HTTPD-ERRORS. 2003-01-21 16:16:56 +00:00
sperber 65279a42e9 Revamp SMTP once more:
- introduce SMTP-CONNECTION records
- regularize naming (no funny slashes)
- in SMTP-SEND-MAIL, add date header if not present
- gratuitous capitalizion of word components for field names in outgoing headers
2003-01-21 15:31:38 +00:00
sperber c04d46910c Rewrite the NETRC library to something more general and much shorter,
along with up-to-date information.  Get FTP and POP3 to use the new
code.
2003-01-21 14:20:13 +00:00
sperber 30062d25df Add RFC822-TIME->STRING to RFC 822 and use that instead of the old and
broken code that was part of the Web server.
2003-01-21 12:45:54 +00:00
sperber e5d3139845 In RFC867/RFC868: work correctly if the remote server isn't there. 2003-01-21 12:02:51 +00:00
sperber 94f127d3b1 Rework NETTIME:
- ditch NETTIME structure; create two structures RFC867 and RFC868
  instead
- make the UDP versions work
- comment fixes
- add copyright notice
2003-01-21 10:03:27 +00:00
sperber 0cb68b88c9 In POP3:
- export POP3-ERROR?
- rename POP3-GET -> POP3-RETRIEVE-MESSAGE,
         POP3-HEADERS -> POP3-RETRIEVE-HEADERS
2003-01-21 08:21:20 +00:00
sperber 8b2217907e Overhaul RFC822:
- reduce RFC822 to four procedures, 2 for reading header bodies into
  lists of lines, 2 for reading them into concatenated strings
- remove lots of Olinism and bugs from rfc822.scm
- massage dependent code accordingly, clarifying semantics
2003-01-20 16:26:26 +00:00
sperber 4ef92c949a In POP3:
replace uses of FORMAT
2003-01-20 15:07:51 +00:00
sperber 3ef18b6abf In POP3:
rewrite POP3-DUMP to something legible
2003-01-20 15:02:22 +00:00
sperber 74f9e4f704 In POP3:
- consolidate login procedure into POP3-CONNECT
- logging goes to a port, not a file
- fix error-handling bug in pop3-login
- rename POP3-LOGIN/APOP -> POP3-APOP-LOGIN
- replace POSIX regexp for challenge by SRE
2003-01-20 14:52:03 +00:00
mainzelm 87deeee77b Propagate renamings within the DNS package. 2003-01-20 14:21:33 +00:00
mainzelm b77a20674c Make message-type and message-class an enumerated type. 2003-01-16 20:08:14 +00:00
sperber 6b21a05636 Add COPY-PORT->PORT-BINARY, COPY-PORT->PORT-ASCII, and
COPY-ASCII-PORT->PORT to FTP-INTERFACE.
2003-01-16 13:33:39 +00:00
sperber 54ece65f35 Support passive mode in FTP. 2003-01-16 13:32:43 +00:00
sperber ec42abd6db Factor PARSE-PORT-ARG out of FTPD into FTP-LIBRARY (in preparation of
passive mode support in FTP).
2003-01-16 13:09:14 +00:00
sperber bba9c34744 - rename FTP-TYPE -> FTP-SET-TYPE!
- use enumerated type for argument of FTP-SET-TYPE!
2003-01-16 12:52:16 +00:00
sperber 1f0bd725cf Elided FTP-LOGIN from FTP-INTERFACE. 2003-01-16 12:43:41 +00:00
sperber 3be94a89e4 Split out FTP-LIBRARY from FTPD; it contains data-shuffling procedures
which are useful for the client as well.
2003-01-16 10:34:39 +00:00
sperber 1a0099230c Rewrite reply code testing with predicates instead of regexps. 2003-01-16 09:40:34 +00:00