<?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>23150</bug_id>
          
          <creation_ts>2013-09-04 07:06:12 +0000</creation_ts>
          <short_desc>Provide some example usage of fetch, request building, and response handling</short_desc>
          <delta_ts>2016-08-15 11:18:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Fetch</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tab Atkins Jr.">jackalmage</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>crimsteam</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>sideshowbarker+fetchspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92934</commentid>
    <comment_count>0</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2013-09-04 07:06:12 +0000</bug_when>
    <thetext>There&apos;s very little in the Fetch spec that helps other spec authors actually use it.  In particular, there&apos;s a ton of flags and variables you can set when building a request, without any guidance on what they commonly should be set to (besides the defaults).  There&apos;s also no information on what to actually do with a response after receiving it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115895</commentid>
    <comment_count>1</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-12-04 00:56:14 +0000</bug_when>
    <thetext>I agree and want to add that I don&apos;t know why the Response interface can be invoke as constructor, when this can be useful in practice? Any case where this constructed Response object can be used (for example passing to some methods)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115896</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-12-04 01:05:01 +0000</bug_when>
    <thetext>Arkadiusz, constructing a Response object is a developer matter, not a matter for other specifications, so somewhat unrelated to this bug. (Constructing Response objects is needed for service workers.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127135</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-08-15 11:18:55 +0000</bug_when>
    <thetext>Someone filed this on GitHub too. It&apos;s gotten a little better as well I think and there&apos;s other specifications that contain some examples now.

https://github.com/whatwg/fetch/issues/186</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>