comp.lang.ada
 help / color / mirror / Atom feed
From: tonyg <tonythegair@gmail.com>
Subject: Re: using a Get in AWS
Date: Sun, 28 Sep 2014 04:08:55 -0700 (PDT)
Date: 2014-09-28T04:08:55-07:00	[thread overview]
Message-ID: <f72705d3-f8d4-461d-87b9-809ef696f98e@googlegroups.com> (raw)
In-Reply-To: <ly4mvsgkd5.fsf@pushface.org>

On Sunday, 28 September 2014 10:33:29 UTC+1, Simon Wright  wrote:
> tonyg writes:
> 
> 
> 
> > Execution terminated by unhandled exception
> 
> > Exception name: CONSTRAINT_ERROR
> 
> > Message: aws-url.adb:339 range check failed
> 
> >
> 
> >
> 
> > with AWS.Client; use AWS.Client;
> 
> > with AWS.Response;
> 
> > with Ada.Text_IO;
> 
> > procedure Main_Aws_Test is
> 
> >
> 
> >
> 
> >   
> 
> >    Test_Data : AWS.Response.Data := 
> 
> >      AWS.Client.Get (URL  => "www.yahoo.com"  );
> 
> 
> 
> If this happened to me I'd start by seeing what happens at
> 
> aws-url.adb:339 and (then) try the full URL "http://www.yahoo.com".

Thanks Simon. The lack of the http:// was the problem. I have accordingly slapped myself in the face with a sizable haddock several times 


  reply	other threads:[~2014-09-28 11:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-27 21:11 using a Get in AWS tonyg
2014-09-28  9:33 ` Simon Wright
2014-09-28 11:08   ` tonyg [this message]
2014-09-28 16:49     ` Jeffrey Carter
2014-09-28 19:11     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox