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
glebtv-ckeditor-4.3.2.3 test/support/raw_post.rb
glebtv-ckeditor-4.3.2.2 test/support/raw_post.rb
glebtv-ckeditor-4.3.2.1 test/support/raw_post.rb
glebtv-ckeditor-4.3.2.0 test/support/raw_post.rb
ckeditor-4.0.10 test/support/raw_post.rb
ckeditor-4.0.9 test/support/raw_post.rb
ckeditor-4.0.8 test/support/raw_post.rb
base2_ckeditor-4.0.7 test/support/raw_post.rb
ckeditor-4.0.7 test/support/raw_post.rb
glebtv-ckeditor-4.2.1.5 test/support/raw_post.rb
glebtv-ckeditor-4.2.1.4 test/support/raw_post.rb
glebtv-ckeditor-4.2.1.3 test/support/raw_post.rb
glebtv-ckeditor-4.2.1.2 test/support/raw_post.rb
glebtv-ckeditor-4.2.1.1 test/support/raw_post.rb
glebtv-ckeditor-4.2.1 test/support/raw_post.rb
glebtv-ckeditor-4.1.1.7 test/support/raw_post.rb
glebtv-ckeditor-4.1.1.6 test/support/raw_post.rb
ckeditor-4.0.6 test/support/raw_post.rb
glebtv-ckeditor-4.1.1.5 test/support/raw_post.rb
glebtv-ckeditor-4.1.1.4 test/support/raw_post.rb