|
This is a follow-up to my posting from a couple hours ago:
Read-from-string gives different results when called within
cl-http 70.214 methods, depending on whether it is run in lispworks
4.3 vs mac common lisp 5.1.
The test method:
(defmethod rtest ((url url:http-computed-url) stream)
(http:with-successful-response (stream :html)
(format stream "package = ~a"
(package-name (symbol-package (read-from-string
"test"))))))
(http:export-url #u"/pql/rtest"
:computed
:response-function
#'rtest)
The results:
lispworks: HTTP-USER
mac cl: COMMON-LISP-USER
Is this a known bug, or "feature", of the lispworks vs
mac cl cl-http implementations? Is there a simple way to make
read-from-string in the LispWorks version produce the same results as
read-from-string in the MacCL version? My code uses read-from-string
within cl-http methods a lot, and fixing each use one at a time would
be pretty time-consuming.
Thanks,
Mark
--
Mark Klein
Principal Research Scientist
Massachusetts Institute of Technology
77 Massachusetts Avenue, NE20-336
Cambridge MA 02139 USA
m_klein@xxxxxxx
http://cci.mit.edu/klein/
_______________________________________________
WWW-CL mailing list
WWW-CL@xxxxxxxxxxxxxxxxxxx
https://lists.csail.mit.edu/mailman/listinfo/www-cl
|