<?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>15494</bug_id>
          
          <creation_ts>2012-01-10 13:56:43 +0000</creation_ts>
          <short_desc>Should Content-Transfer-Encoding be forbidden?</short_desc>
          <delta_ts>2012-05-14 14:18:44 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-setrequestheader%28%29-method</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 name="Julian Reschke">julian.reschke</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>w3c</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62471</commentid>
    <comment_count>0</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-01-10 13:56:43 +0000</bug_when>
    <thetext>The list of &quot;author request headers&quot; mentions Content-Transfer-Encoding. This is confusing as there is no such header field in HTTP (there is one in email, though).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62472</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-10 14:01:32 +0000</bug_when>
    <thetext>I think you are confusing author request headers with headers that cannot be set by authors. What is wrong with prohibiting Content-Transfer-Encoding?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62474</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-01-10 14:26:45 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think you are confusing author request headers with headers that cannot be
&gt; set by authors. What is wrong with prohibiting Content-Transfer-Encoding?

a) yes, sorry.

b) as I said: what&apos;s the point in forbidding it when it doesn&apos;t exist?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62475</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-10 14:32:43 +0000</bug_when>
    <thetext>I don&apos;t know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62479</commentid>
    <comment_count>4</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-01-10 17:05:36 +0000</bug_when>
    <thetext>Julian is right: there is no such header, so prohibiting it makes no sense.  Why was that text added to the spec?  Did it actually mean to prohibit setting Content-Encoding or Transfer-Encoding (or maybe both?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62480</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-10 17:09:20 +0000</bug_when>
    <thetext>Not sure. The header has been there since the draft of June 2007.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62481</commentid>
    <comment_count>6</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2012-01-10 17:15:53 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Not sure. The header has been there since the draft of June 2007.

See also &lt;http://lists.w3.org/Archives/Public/public-webapi/2008May/0189.html&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67646</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-14 13:41:20 +0000</bug_when>
    <thetext>Transfer-Encoding is forbidden. I think the idea must have been to forbid Content-Encoding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67648</commentid>
    <comment_count>8</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-05-14 14:18:44 +0000</bug_when>
    <thetext>I removed Content-Transfer-Encoding.

http://dvcs.w3.org/hg/xhr/rev/33501b9188cb


It was originally added in 1.68 of http://dev.w3.org/cvsweb/2006/webapi/XMLHttpRequest/Overview.src.html by the way without a clear mailing list discussion associated with it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>