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

On Thu, Sep 19, 2013 at 6:39 PM, 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.

Indeed, keeping the length accessible seems as easy as keeping the
mimetype accessible.

/ Jonas

Received on Friday, 20 September 2013 01:42:37 UTC