<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15509</bug_id>
          
          <creation_ts>2012-01-10 20:41:07 +0000</creation_ts>
          <short_desc>Define HTTP handling of data URLs (and maybe other URLs)</short_desc>
          <delta_ts>2012-02-20 15:19:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>XHR</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>hsivonen</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62516</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-10 20:41:07 +0000</bug_when>
    <thetext>User agents start to allow fetching of data URLs in the context of XMLHttpRequest. That has implications for status/statusText/getResponseHeader()/getAllResponseHeaders(). Those implications need to be defined. Ideally in the data URL standard just like they are for blob URLs, but otherwise maybe in XMLHttpRequest for now.

Henri also suggested adding a note to those four members to point out this issue to implementors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64165</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-02-16 14:24:19 +0000</bug_when>
    <thetext>I have done this:

http://dvcs.w3.org/hg/xhr/rev/063d0f0d429d

Henri, is this good enough?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64169</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-02-16 14:37:10 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I have done this:
&gt; 
&gt; http://dvcs.w3.org/hg/xhr/rev/063d0f0d429d
&gt; 
&gt; Henri, is this good enough?

I think you should handle the case where the data URI does not include the media type.

Choices:

a) use the defined default, or

b) do not define the Content-Type header field

b) is probably less surprising.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64170</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-02-16 14:43:58 +0000</bug_when>
    <thetext>I think we should include it, otherwise for &quot;document&quot; it would be treated as XML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64269</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-02-17 22:40:21 +0000</bug_when>
    <thetext>Done:

http://dvcs.w3.org/hg/xhr/rev/d9af8c30a79a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64296</commentid>
    <comment_count>5</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2012-02-20 08:10:04 +0000</bug_when>
    <thetext>Looks OK. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64303</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-02-20 15:16:32 +0000</bug_when>
    <thetext>Ignore this comment please. I&apos;m just testing out bugmail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64304</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-02-20 15:19:36 +0000</bug_when>
    <thetext>And ignore this comment too please. Trying again..</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>