Re: [XHR] Content-Length header for data: URLs

But Content-Length is not the same as the length of the string containing
the Data URL.


On 20 September 2013 03:39, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/19/13 9:31 PM, Anne van Kesteren wrote:
>
>> Doesn't that depend on how you end up storing it whether getting that
>> information is fast and easy to get ahead of time?
>>
>
> I suppose, if you store them somewhere where you don't know how much space
> they're taking up in the storage...  But at some point that data: URL was a
> string, and you can just save its length in an easy-to-get-to place.
>
> -Boris
>
>

Received on Friday, 20 September 2013 02:52:00 UTC