Welcome to the CHICKEN Scheme pasting service

spiffy unparse errors added by mario-goulart on Sun Jan 6 11:11:40 2019

;; $ chicken-status -exact spiffy intarweb
;; intarweb .................................... version: 1.7
;; spiffy ...................................... version: 5.4.2

$ cat spiffy.scm
(use spiffy)
(root-path ".")

(with-output-to-file "foo.txt"
  (cut print "foo"))

(vhost-map
 `((".*" . ,(lambda (continue)
              (send-static-file "foo.txt")
              (continue)))))

(start-server)


$ csi -s spiffy

;; request http://localhost:8080/foo.txt

[Sun Jan  6 11:10:58 2019] "GET http://localhost:8080/foo.txt HTTP/1.1" Error: (unparse-headers)
could not unparse "Last-Modified" header (#(#(55 10 10 6 0 119 0 5 #f 0) ())): cannot write to socket - Connection reset by peer
5

        Call history:

        spiffy.scm:291: raise
        spiffy.scm:312: k463
        spiffy.scm:341: current-response523524
        spiffy.scm:341: current-response523524
        spiffy.scm:312: current-response494495
        spiffy.scm:312: current-response494495
        spiffy.scm:312: g467
        spiffy.scm:312: ##sys#signal
        spiffy.scm:505: k736
        spiffy.scm:428: current-pathinfo594595
        spiffy.scm:428: current-file596597
        spiffy.scm:428: current-pathinfo594595
        spiffy.scm:428: current-file596597
        spiffy.scm:505: g740
        spiffy.scm:507: handle-exception
        spiffy.scm:508: with-output-to-string           <--

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `load-relative'?
Visually impaired? Let me spell it for you (wav file) download WAV