comp.lang.ada
 help / color / mirror / Atom feed
From: Okasu <oka.sux@gmail.com>
Subject: Re: ZLIB_ERROR with AWS
Date: Sun, 21 Oct 2012 20:44:29 +0000 (UTC)
Date: 2012-10-21T20:44:29+00:00	[thread overview]
Message-ID: <slrnk88nju.s4.oka.sux@localhost.localdomain> (raw)
In-Reply-To: d5006135-9188-4421-b450-ece32650c0f0@googlegroups.com

I'm using Linux and by now i have to use this ugly workaround:

-----
      function Get_Body (URL : Unbounded_String) return String
      is
         Limit : constant Content_Range := (1, 3000);
      begin
         return Message_Body
           (Get (URL => To_String (URL), Data_Range => Limit));
      exception
         when Zlib_Error =>
            return Message_Body (Get (To_String (URL)));
      end Get_Body;
-----

It's miserable.



  reply	other threads:[~2012-10-21 20:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20  0:35 ZLIB_ERROR with AWS Okasu
2012-10-20  7:23 ` Okasu
2012-10-20  7:47   ` Dmitry A. Kazakov
2012-10-20  8:32     ` Okasu
2012-10-20  9:04       ` Dmitry A. Kazakov
2012-10-20 20:46         ` Okasu
2012-10-20 20:58           ` Pascal Obry
2012-10-20 21:15             ` Okasu
2012-10-20 21:25               ` Pascal Obry
2012-10-20 21:30                 ` Okasu
2012-10-20 22:26                   ` Okasu
2012-10-21  7:29                     ` Pascal Obry
2012-10-21 10:22                     ` Marius Amado-Alves
2012-10-21 20:44                       ` Okasu [this message]
2012-10-22  5:38                         ` Pascal Obry
2012-10-22  8:08                           ` Okasu
2012-10-22 15:39                             ` Pascal Obry
2012-10-21  6:17           ` darkestkhan
replies disabled

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