jQuery: The Write Less, Do More JavaScript Library

Ticket #1986 (closed enhancement: fixed)

Opened 6 months ago

Last modified 4 months ago

using dataType should also set the accepts header

Reported by: yehuda Assigned to: anonymous
Type: enhancement Priority: major
Milestone: 1.2.2 Component: ajax
Version: 1.2.1 Keywords:
Cc: Needs: Review

Description

Using a dataType (such as JSON), should also set the accepts header so servers that decide what sort of response to return based on those headers will know to return JSON.

Attachments

Change History

Changed 5 months ago by john

  • owner deleted
  • component changed from core to ajax

Changed 4 months ago by john

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN rev [4439].

Note: See TracTickets for help on using tickets.