Sha256: 252b1c7668c92fb3b09d23a75c9ecf5c1896872ece94e76b0b399b702f02e6dd

Contents?: true

Size: 261 Bytes

Versions: 89

Compression:

Stored size: 261 Bytes

Contents

module RawPost
  def raw_post(action, params, body, content_type = nil)
    @request.env['RAW_POST_DATA'] = body
    @request.env['CONTENT_TYPE'] = content_type
    response = post(action, params)
    @request.env.delete('RAW_POST_DATA')
    response
  end
end

Version data entries

89 entries across 89 versions & 7 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/ckeditor-4.3.0/test/support/raw_post.rb
danabr75-ckeditor-4.1.6 test/support/raw_post.rb
glebtv-ckeditor-4.11.1 test/support/raw_post.rb
ckeditor-4.3.0 test/support/raw_post.rb
glebtv-ckeditor-4.7.3.1 test/support/raw_post.rb
glebtv-ckeditor-4.7.3 test/support/raw_post.rb
ckeditor-4.2.4 test/support/raw_post.rb
ckeditor-4.2.3 test/support/raw_post.rb
glebtv-ckeditor-4.6.0 test/support/raw_post.rb
ckeditor-4.2.2 test/support/raw_post.rb
ckeditor-4.2.1 test/support/raw_post.rb
glebtv-ckeditor-4.5.10.3 test/support/raw_post.rb
glebtv-ckeditor-4.5.10.2 test/support/raw_post.rb
glebtv-ckeditor-4.5.10.1 test/support/raw_post.rb
ckeditor-4.2.0 test/support/raw_post.rb
glebtv-ckeditor-4.5.7.1 test/support/raw_post.rb
glebtv-ckeditor-4.5.7 test/support/raw_post.rb
ckeditor_custom_controller-4.1.6 test/support/raw_post.rb
ckeditor-4.1.6 test/support/raw_post.rb
ckeditor-4.1.5 test/support/raw_post.rb