class method self.extract_multipart_boundary

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

self.extract_multipart_boundary(content_type_with_parameters)

No documentation comment.

Parameters

content_type_with_parameters req
Source
# File actionpack/lib/action_controller/request.rb, line 593
      def extract_multipart_boundary(content_type_with_parameters)
        if content_type_with_parameters =~ MULTIPART_BOUNDARY
          ['multipart/form-data', $1.dup]
        else
          extract_content_type_without_parameters(content_type_with_parameters)
        end
      end

Defined in actionpack/lib/action_controller/request.rb line 593 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::AbstractRequest

Type at least 2 characters to search.

↑↓ navigate · open · esc close