#129 ✓resolved
adevadeh

IE mangles HTTP response status code 204 to 1223

Reported by adevadeh | May 30th, 2008 @ 12:48 PM | in 1.7

IE does something very strange when I respond to an AJAX request with code 204. Instead of keeping the 204, the status somehow gets translated to 1223.

This problem is documented in the jQuery Trac as well: http://dev.jquery.com/ticket/1450

To fix this problem prototype should accept 1223 as a valid code and trigger the onSuccess callback.

prototype.js:1296

  success: function() {
    var status = this.getStatus();
	// need to accept 1223 as successful response, as IE translates 204 into 1223!?!?!?!
    return !status || (status >= 200 && status < 300) || (status == 1223);
  },

If there is no other way to work around this problem, I will submit tests and a patch.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Referenced by

Pages