Re: Headers and IE

Rudi Schlatte <[email protected]> Wed, 13 Aug 2003 21:44:22 +0200
Newsgroups gmane.lisp.open-source.franz
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Crossposted -- watch followups when replying]

Matthew: sorry for the late reply -- this is best fixed "upstream", I 
think, since it affects AllegroServe and not only its portable 
offspring.  I'm resending your mail to Franz's opensource list.

On Mittwoch, August 13, 2003, at 04:26  Uhr, Matthew Danish wrote:

> I discovered that when AllegroServe sends reply headers that are not
> special cased, it simply sends out a FORMAT ~A of the keyword name.  IE
> doesn't like this, it requires proper capitalization of the name.  For
> example: instead of LAST-MODIFIED it needs to be Last-Modified.
>
> ;; ... code in SEND-RESPONSE-HEADERS ...
> (dolist (head (request-reply-headers req))
>   (format-dif :xmit sock "~a: ~a~a"
>               (car head)             ;; change to (header->string (car 
> head))
>               (cdr head)
>               *crlf*))
> ;; ...
>
> (defparameter *header-table*
>   '((:last-modified . "Last-Modified")
>     ...))
>
> (defun header->string (header)
>   (cdr (assoc header *header-table*)))
>
>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/OpUc765FppppCGcRApHLAKCCqASdvK2ampcdSwxXvVvfD8BnNwCgsREY
WY7RAZTz6m8I0b3LoBYTgho=
=nTUk
-----END PGP SIGNATURE-----