Re: (NO)Problems with Timeouts but with Packages :-).
Martin Simmons <[email protected]>
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Sun, 05 May 2002 20:21:53 +0200, [email protected] (Dr. Helmut G. Enders) said: Helmut> Thanks a lot for your immediately help, you saved me a lot of debugging hours. Helmut> I was wide off the mark looking for the problem. Helmut> Here is a short form of my problem: Helmut> nr is read into the package http not http-user. Helmut> Is this the correct behaviour? Yes, because READ-FROM-STRING will intern symbols in the current package at run-time. If you want this to be http-user, then do something like (defmethod restart-kwg ((url url:http-form) stream) (let ((*package* (find-package 'http-user))) (read-from-string "nr"))) though personally I don't like using the reader for things like this (I would use some kind of tokenizer). -- Martin Simmons Email: [email protected] Xanalys Ltd, Barrington Hall, TEL: +44 1223 873826 Barrington, Cambridge CB2 5RG, England. FAX: +44 1223 873873