[OSM-dev] osmxapi ContentLength question

80n 80n80n at gmail.com
Tue May 6 23:26:08 BST 2008


On Tue, May 6, 2008 at 8:58 PM, Igor Brejc <igor.brejc at gmail.com> wrote:

> Hello,
>
> A quick question: is there a way to get the actual content length of the
> osmxapi response before downloading the whole dataset? I'm getting the
> -1 value (using a C# web client).
> I'm currently adding osmxapi support to Kosmos and I want to show the
> download progress to the user.
> Thanks for any response,
>


No, the content length is not known at the time the output starts.  Sorry.

80n



>
> Igor
>
> --
> http://igorbrejc.net
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080506/270233ec/attachment.html>


More information about the dev mailing list