Re: http-post

2012-05-05 Thread gregory benison
On Thu, Apr 26, 2012 at 5:58 PM, Noah Lavine  wrote:
> If you'd like to have it added to Guile, we'd love to have it in here.
> The one other thing we'd like is tests for this code. There are
> examples in test-suite/tests/web-http.test.
>

To write a test for http-post, I thought I'd model it on a test for
http-get.  However, there isn't one - 'http-get' doesn't appear
anywhere in test-suite/ (on master branch as of 4105f).  'run-server'
isn't in there either.  So is a test needed for all of these?  Perhaps
something that starts up a simple server like the example in the
documentation, binds it to some port, and sends a few requests with
'http-get' and 'http-post' to see if they come back correctly?



Re: Problem with guile on Dragora

2012-05-05 Thread Germán A. Arias
El Fri, 04 May 2012 00:39:43 +0200
l...@gnu.org (Ludovic Courtès) escribió:
> Hello!
> 
> "Germán A. Arias"  skribis:
> 
> > Hi, I'm testing guile 2.0.5 in a new system (www.dragora.org). The
> > compilation seems OK. But when I run guile I get:
> >
> > bash-4.2$ guile
> > Backtrace:
> > In ice-9/boot-9.scm:
> >  149: 2 [catch #t # ...]
> >  157: 1 [#]
> > In unknown file:
> >?: 0 [catch-closure]
> >
> > ERROR: In procedure catch-closure:
> > ERROR: Throw to key `decoding-error' with args `("scm_from_stringn"
> > "input locale conversion error" 22 #vu8(103 117 105 108 101))'.
> 
> This seems to be like , which is fixed by
> commit 5de0053178b4acc793ae62838175e5f3ab56c603.
> 
> Could you apply this patch and confirm?  Alternatively, you can try a
> tarball from
> .
> 
> Thanks,
> Ludo’.
> 

Confirmed, the problem is fixed.