Bug Tracker

Modify

Ticket #1132 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Remove connect:close header workaround

Reported by: joern Owned by: joern
Priority: minor Milestone: 1.1.3
Component: ajax Version: 1.1.2
Keywords: Cc:
Blocking: Blocked by:

Description

jQuery contains a workaround for a bug in pre 1.5 Firefox that can be safely removed (anything older then FF 1.5 isn't supported anyway).

The relevant lines:

// Make sure the browser sends the right content length
if ( xml.overrideMimeType )
	xml.setRequestHeader("Connection", "close");

Link to some resources about the issue: The root cause of the hack (Dan just touched on it):

 https://bugzilla.mozilla.org/show_bug.cgi?id=246651

Message reporting that the above bug was fixed in the 11 Sep 2004 build :

 http://forums.mozillazine.org/viewtopic.php?p=788974

Two bugs from prototype (the second is marked duplicate):

 http://dev.rubyonrails.org/ticket/5606  http://dev.rubyonrails.org/ticket/5809

Resulting from a recent discussion:  http://groups.google.com/group/jquery-en/browse_thread/thread/8ff37a5c8660f4ec

Change History

comment:1 Changed 6 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [1733].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.