[Bese-devel] Re: httpd bug/question

Marco Baringer mb at bese.it
Mon Feb 13 15:59:16 UTC 2006


Asbjørn Bjørnstad wrote:
> First: small bug I think, the :iso-8859-1 seems to be misplaced in
> the read-request function in the httpd backend:

thanks for pointing this out.

>
> (setf (query-path request) (make-displaced-array (raw-uri request) 0 it)
>       (parameters request) (parse-query-parameters
>                              (make-displaced-array (raw-uri request)
>                                                    (1+ it)
>                              :iso-8859-1)))

> Secondly: Is it a good Idea to specify :external-format when reading a
> file in the serve-file function? (The locale on my machine is en_SG.UTF-8)

i believe so, but the external formta should be (unsigned-byte 8) and we
should write the data directly to network-stream.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the bese-devel mailing list