Skip to main content

Bug Tracker

Side navigation

#11134 closed bug (wontfix)

Opened January 06, 2012 03:17PM UTC

Closed January 06, 2012 03:18PM UTC

Last modified March 14, 2012 10:19AM UTC

$.post doesn't allow setting a contentType

Reported by: iwein Owned by:
Priority: low Milestone: None
Component: traversing Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

When posting json to a server you need to set the content type. This can not be done with the $post short-hand, and therefore requires fallback to $.ajax.

It would be great if $.post also supported a contentType.

Sample code:

See for details and some more code.

Attachments (0)
Change History (1)

Changed January 06, 2012 03:18PM UTC by rwaldron comment:1

component: unfiledtraversing
priority: undecidedlow
resolution: → wontfix
status: newclosed

If you want finer control, use $.ajax.