Bug Tracker

Modify

Ticket #6771 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Quality factors for content negotiation

Reported by: heungsub Owned by:
Priority: undecided Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: json header Cc:
Blocking: Blocked by:

Description

It is not standard implementation that making up accept header as Accept: application/json, text/javascript, */* when 'dataType' is 'json'.

Apache servers automatically add 'q=0.01' to after of '*/*'(wildcard), but the others(eg. wsgi containers) don't. For that reason, the others suffer to wrong content negotiation(container returns the 'text/html' results even I requested as 'json').

Change History

comment:1 Changed 3 years ago by addyosmani

  • Keywords json header added
  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to invalid

I can't quite understand what aspect of our Ajax implementation you would like changed or adjusted as a result of your original ticket. Would you be able to re-submit a ticket with more detailed information so we can be of assistance?

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.