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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>169420</bug_id>
          
          <creation_ts>2017-03-09 10:10:52 -0800</creation_ts>
          <short_desc>XMLHttpRequest: request body dropped during redirects</short_desc>
          <delta_ts>2026-04-27 06:40:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Anne van Kesteren">annevk</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>mike</cc>
    
    <cc>rniwa</cc>
    
    <cc>w0rse.t</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1285373</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2017-03-09 10:10:52 -0800</bug_when>
    <thetext>See https://github.com/w3c/web-platform-tests/pull/5070 (XMLHttpRequest/send-redirect-to-cors.htm in web-platform-tests) for tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1287211</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-03-13 09:51:55 -0700</bug_when>
    <thetext>This may need some vetting. I believe that WebKit behavior for each specific HTTP redirect response code has been looked at in the past, and is intentional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382113</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Povazhnyi">w0rse.t</who>
    <bug_when>2017-12-15 03:00:46 -0800</bug_when>
    <thetext>Interestingly, Fetch API call doesn&apos;t just drop request body, but sets it to &quot;{}&quot; after redirect</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890242</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-10 03:28:35 -0700</bug_when>
    <thetext>Safari Technical Preview 150 still fail few tests:

https://wpt.fyi/results/xhr/send-redirect-to-cors.htm?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=send-redirect-to-cors

cdumez@apple.com - you fixed quite a lot XHR related bugs recently (updated TP not released yet)? Is this fixed in those? I couldn&apos;t find any commit mentioning this test, which was recently committed. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890342</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-10 10:53:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/98459882&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2202713</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2026-04-21 06:23:09 -0700</bug_when>
    <thetext>*** Bug 312580 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2202714</commentid>
    <comment_count>6</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2026-04-21 06:23:36 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62982</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204905</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-27 06:40:10 -0700</bug_when>
    <thetext>Committed 312092@main (0ae02b1bfe4a): &lt;https://commits.webkit.org/312092@main&gt;

Reviewed commits have been landed. Closing PR #62982 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>