Flowdock
method

parse_formatted_parameters

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionDispatch::Http::Parameters
parse_formatted_parameters(parsers) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/parameters.rb, line 87
        def parse_formatted_parameters(parsers)
          return yield if content_length.zero? || content_mime_type.nil?

          strategy = parsers.fetch(content_mime_type.symbol) { return yield }

          begin
            strategy.call(raw_post)
          rescue # JSON or Ruby code block errors.
            log_parse_error_once
            raise ParseError
          end
        end
Register or log in to add new notes.