[AWS] AWS and get

tony gair tonythegair at gmail.com
Sun Sep 28 00:45:43 CEST 2014


I get an error (according to the stack trace) at the begin statement, I
cannot see why this should happen!
I've listed the error then the code used to try it

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"  );

   Test_String : constant String := AWS.Response.Message_Body(Test_Data);

begin

Ada.Text_IO.Put_Line (Test_String);



end Main_Aws_Test;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/aws/attachments/20140927/bd6a60f7/attachment.html>


More information about the AWS mailing list