Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #892 (closed defect: wontfix)

Opened 12 years ago

Last modified 10 years ago

Other Javascript MIME types should also trigger JSON format

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 1.5
Component: TurboGears Version: 0.9a5
Severity: normal Keywords:
Cc:

Description

Ticket #54 brought about the use of the Accept header as an alternative to ?tg_format . However, that ticket states that the Accept header must include *only* text/javascript in order to prompt the generation of JSON rather than HTML. In addition to allowing text/javascript, this should also permit accept lists to include other MIME types commonly used for Javascript and JSON, including text/x-javascript, application/javascript, application/x-javascript, and application/json.

Change History

comment:1 Changed 11 years ago by jorge.vargas

  • Milestone set to 1.0

all that was deleted on http://trac.turbogears.org/turbogears/changeset/962

is the new form still incompatible?

comment:2 Changed 11 years ago by alberto

  • Milestone changed from 1.0 to 1.1

comment:3 Changed 11 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

no more input

Note: See TracTickets for help on using tickets.