[cl-soap-devel] Re: s-http-client problem
Sven Van Caekenberghe
scaekenberghe at common-lisp.net
Mon Jan 23 14:46:58 UTC 2006
On 23 Jan 2006, at 15:16, quasi wrote:
> oops, I forgot to mention I am using SBCL 9.8 on Debian/x86
>
> On 1/23/06, quasi <quasilists at gmail.com> wrote:
>> folks,
>>
>> s-http-client does not have a mailing list, so I am writing here.
>> Sorry.
>>
>> trying the simple example (s-http-client:do-http-request any-url)
>> results in a restart
>>
>> The value of "Execute body with the process lock grabbed, wait
>> otherwise"
>> is not of type
>> (OR STREAM (MEMBER T NIL))
>>
>> what to do ?
I think you should make sure that you have the latest version of S-
SYSDEPS.
On Mac OS X (where SBCL has *no* multithreading support):
CL-USER> (lisp-implementation-type)
"SBCL"
CL-USER> (lisp-implementation-version)
"0.9.7"
CL-USER> (asdf :s-http-client)
;; Executing (ASDF:OPERATE 'ASDF:LOAD-OP :S-HTTP-CLIENT)
[...]
CL-USER> (s-http-client:do-http-request "http://homepage.mac.com/svc/
s-http-client/foo.html")
"<html>
<head><title>Foo</title></head>
<body>
<h1>Foo</h1>
<p>Just a test page.</p>
</body>
</html>
"
200
((:DATE . "Mon, 23 Jan 2006 14:43:21 GMT") (:CONTENT-LENGTH . "100")
(:CONTENT-TYPE . "text/html") (:CACHE-CONTROL . "public")
(:X-RESPONDING-SERVER . "davhp06") (:SERVER . "AppleDotMacServer")
(:ETAG . "u-1g3s18hn-9aip-qjfyi23or-8h3m9zcr20")
(:LAST-MODIFIED . "Sat, 07 Jan 2006 09:39:40 GMT")
(:VIA . "1.1 netcache01 (NetCache NetApp/5.5R6)"))
#<URI http://homepage.mac.com:80/svc/s-http-client/foo.html>
:NEW
On other SBCL platforms there *is* multi-threading support (and locks
and stuff).
I haven't actually tested there though.
HTH,
Sven
--
Sven Van Caekenberghe - http://homepage.mac.com/svc
Beta Nine - software engineering - http://www.beta9.be
"Lisp isn't a language, it's a building material." - Alan Kay
More information about the cl-soap-devel
mailing list