vibr
a1e79c4fc7
parse HTTP 1.1 URIs:
...
* add RegExps
* add proc PARSE-URI
* add proc SPLIT-ABS-PATH
2004-10-06 19:10:49 +00:00
vibr
2cb8502f9e
remove uri-parser PARSE-URI
...
(completely out-of-date, has never seen RFC 2396)
2004-10-06 13:33:45 +00:00
vibr
649f374e8b
add comment on uri-parser
2004-10-06 13:29:06 +00:00
vibr
38f2594ba5
emit less newlines
2004-08-15 12:40:06 +00:00
vibr
35565068fb
char-set:blank = LWS from RFC 2616 (after folding)
2004-08-15 12:02:36 +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
8bf71fc3a5
get-numeric-field-value: correct error message
2004-08-15 11:06:39 +00:00
vibr
549594bef4
with-tag* outputs no newlines
2004-08-14 22:05:06 +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
6969b80206
- move XHTML stuff from responses.scm to htmlout.scm
...
- new function EMIT-PROLOG
- define XML namespace declaration
- adapt macro %hack-attr-elt: special treatment of xmlnsdecl-attr
(this is not nice, but the only alternative was hard-coding the XML
namespace declaration into the various handlers)
- element names -> lower case
2004-08-13 15:46:53 +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
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
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
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
cresh
e71a3581af
fixed bugs related to invalid nameservers:
...
* added new error signal no-nameserver-given
* modified send-receive-message-* functions:
- better error handling
- timeout/maxtries functionality
- try to contact all nameservers,
before error is signaled
2003-07-09 20:45:20 +00:00
cresh
dbd13f24ab
Minor changes in parse-resolv.conf.
2003-06-30 10:57:26 +00:00
mainzelm
886b8f7dd1
Made uri-escaped-chars the complement of alphanum | mark.
2003-06-25 07:49:54 +00:00
mainzelm
8111eddf82
Fix broken call to map in lookup-optional-args.
2003-02-19 17:37:35 +00:00
interp
da98c4b78c
factor out GET-HEADER
2003-02-19 17:05:16 +00:00
mainzelm
0b8c33af3f
Removed fqdn? and unqualified-hostname
2003-02-10 13:13:26 +00:00
mainzelm
45223c1d81
Created structure ips for ip-string related procedures.
2003-02-10 12:30:43 +00:00
mainzelm
183cf60bb7
Make resolve.conf-parse-error a condition.
2003-02-10 10:48:46 +00:00
mainzelm
1503017988
Removed system-fqdn from sunet-utilities and internet-address->fqdn from dns.
2003-02-10 10:44:59 +00:00
mainzelm
e2697605f6
+ rr-X -> resource-record-X
...
+ removed separate cache mapping IPs to FQDNs
2003-02-10 08:04:17 +00:00
sperber
9893716650
Actually use READ-LINE parameter in MAKE-READ-RFC822-HEADERS.
...
(Noticed by bernauer.)
2003-01-24 09:51:17 +00:00
mainzelm
73629e6baa
+ octet generation for messages only just before the message is sent
...
+ two additional constructors for query messages
+ rename "question" to "query" when variable hold a dns-message
2003-01-22 12:27:50 +00:00
sperber
45a1746bc9
Remove comments which are either superfluous or have moved to the
...
documentation.
2003-01-22 10:48:19 +00:00
sperber
ee490999df
Re-indent.
2003-01-22 10:42:47 +00:00
sperber
9ca0a42a40
Remove comments that have moved to the documentation.
2003-01-22 10:42:25 +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
e51180ffdf
Add space before field body in RFC822-TIME->STRING.
2003-01-22 08:54:22 +00:00
mainzelm
1ac2cc0819
Fix forgotten renamings.
2003-01-21 16:09:41 +00:00
sperber
b60335d2cd
Remove some out-of-date comments.
2003-01-21 15:53:47 +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
9b59e5bbe6
Fix insignificant typo.
2003-01-21 14:57:12 +00:00
mainzelm
0c0c27dcb5
+ removed conditions for invalid type and class
...
+ querytype -> query-type
2003-01-21 14:33:54 +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
2994678584
Fix two arity errors.
2003-01-21 13:05:11 +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
4abd90075b
Remove "POP3-" prefix from various internal procedure names.
2003-01-21 08:18:05 +00:00
sperber
35b837a3b0
Comment fixes.
2003-01-21 08:14:56 +00:00
sperber
81395d1e48
- remove comments about procedure types.
...
- don't return status from those procedures that used to
2003-01-21 08:13:48 +00:00
sperber
1ee07495ba
For POP3-GET return two values (headers and list of body lines)
...
instead of dumping the message to (current-output-port).
2003-01-20 16:52:25 +00:00