Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6771 closed bug (invalid)

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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 9 years ago by addyosmani

Keywords: json header added
Priority: undecided
Resolution: invalid
Status: newclosed

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?

Note: See TracTickets for help on using tickets.