Ticket #342: ajax.2.patch
| File ajax.2.patch, 625 bytes (added by mgibson@…, 7 years ago) |
|---|
-
ajax.js
701 701 success: fvoid, 702 702 error: fvoid, 703 703 dataType: null, 704 contentType: "application/x-www-form-urlencoded", 704 705 data: null, 705 706 url: null 706 707 }, s); … … 736 737 737 738 // Set the correct header, if data is being sent 738 739 if ( s.data ) 739 xml.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");740 xml.setRequestHeader("Content-Type", contentType); 740 741 741 742 // Set the If-Modified-Since header, if ifModified mode. 742 743 if ( s.ifModified )
