<?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>13786</bug_id>
          
          <creation_ts>2011-08-15 14:44:28 +0000</creation_ts>
          <short_desc>Drop the charset parameter or made it non-conforming.  Other MIME types introduced by this specification do not allow the charset parameter.</short_desc>
          <delta_ts>2011-12-07 18:26:34 +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>HISTORICAL - Server-Sent Events (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#text/event-stream</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</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>55088</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-08-15 14:44:28 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/complete.html
Multipage: http://www.whatwg.org/C#text/event-stream
Complete: http://www.whatwg.org/c#text/event-stream

Comment:
Drop the charset parameter or made it non-conforming.  Other MIME types
introduced by this specification do not allow the charset parameter.

Posted from: 113.197.157.202
User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55094</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-08-15 15:39:28 +0000</bug_when>
    <thetext>Yeah, the processing rules for unknown parameters just need to be changed. Instead of aborting the request they should simply be ignored, as is the case for unknown parameters with text/html, text/css, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55636</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-23 00:05:35 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: The problem is that a number of servers actually send charset=&quot;&quot; parameters, so we have to support it. We can&apos;t ignore it because if the character encoding is set to something else then we would be corrupting the data if we interpreted it as UTF-8. (What if one day we all move on to some new encoding scheme? It&apos;s important that we be able to migrate. We can&apos;t easily do so if we are ignoring charset=&quot;&quot;!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55668</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-08-23 08:00:55 +0000</bug_when>
    <thetext>If we are moving to a new encoding schema that would be problematic for HTML, CSS, etc. resources too. I think it would be better if it is problematic in the same way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56262</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-04 03:30:45 +0000</bug_when>
    <thetext>How would it be problematic for HTML and CSS? They actually support charset=&quot;&quot;, so a new type wouldn&apos;t be a problem at all as far as I can tell.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56268</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-09-04 07:15:23 +0000</bug_when>
    <thetext>HTML and CSS have a fallback encoding too (typically Windows-1252 or some locale-specific encoding). The resource does not become unsupported. Here the fallback would just be fixed to UTF-8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56269</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-09-04 07:16:13 +0000</bug_when>
    <thetext>And to be clear, UTF-8 would remain to be the only encoding that works until we decide otherwise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56317</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-04 21:21:59 +0000</bug_when>
    <thetext>I don&apos;t really see why we&apos;d actively ignore charset=&quot;&quot; here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56320</commentid>
    <comment_count>8</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-09-04 21:25:52 +0000</bug_when>
    <thetext>Because for MIME types in general you always ignore unknown parameters. That is, you do not halt processing. And if charset is a recognized parameter it should not behave differently from HTML when confronted with an unknown value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58379</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-18 20:28:48 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; Because for MIME types in general you always ignore unknown parameters. That
&gt; is, you do not halt processing.

But it isn&apos;t unknown.

&gt; And if charset is a recognized parameter it
&gt; should not behave differently from HTML when confronted with an unknown value.

I don&apos;t see why. HTML does all kinds of crazy stuff we shouldn&apos;t copy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58406</commentid>
    <comment_count>10</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-19 01:28:03 +0000</bug_when>
    <thetext>It is not just text/html. Every other MIME type that takes a charset parameter behaves this way, text/css, text/javascript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58814</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-25 00:11:21 +0000</bug_when>
    <thetext>Are you arguing those are any less crazy? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59024</commentid>
    <comment_count>12</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-26 23:33:31 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: I see no value in silently ignoring the charset=&quot;&quot; parameter. We don&apos;t ignore any other parameter, why ignore this one? We only support it at all because some servers insist on sending it, according to implementation feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59483</commentid>
    <comment_count>13</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-11-02 14:18:37 +0000</bug_when>
    <thetext>We should ignore the other parameters too.  Name one format that is similar to text/event-stream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59510</commentid>
    <comment_count>14</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-02 17:03:28 +0000</bug_when>
    <thetext>Ah, if you want to ignore all parameters that&apos;s a different matter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61099</commentid>
    <comment_count>15</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-07 18:26:34 +0000</bug_when>
    <thetext>Done.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>