modules/bcf/lib/api/v3/bcf_xml/bcf_xml_api.rb
# Global helper to set allowed content_types
# This may be overriden when multipart is allowed (file uploads)
Global helper to set allowed content_types
This may be overriden when multipart is allowed (file uploads)
Global helper to set allowed content_types This may be overriden when multipart is allowed ( file uploads )
def allowed_content_types
                  if post_request?
                    %w(multipart/form-data)
                  else
                    super
                  end
                end
def allowed_content_types if post_request? %w( multipart/form-data ) else super end end
Global helper to set allowed content_types
This may be overriden when multipart is allowed (file uploads)
Global helper to set allowed content_types This may be overriden when multipart is allowed ( file uploads )