method

content_type

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActionController::AbstractRequest
content_type() public

Determine whether the body of a HTTP call is URL-encoded (default) or matches one of the registered param_parsers.

For backward compatibility, the post format is extracted from the X-Post-Data-Format HTTP header if present.

Show source
Register or log in to add new notes.