Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6811

Show
Ignore:
Timestamp:
05/22/07 22:26:00 (1 year ago)
Author:
xal
Message:

Set RAW_POST_DATA in integration tests as expected

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/integration.rb

    r6796 r6811  
    246246            "CONTENT_TYPE"   => "application/x-www-form-urlencoded", 
    247247            "CONTENT_LENGTH" => data ? data.length.to_s : nil, 
     248            "RAW_POST_DATA"  => data, 
    248249            "HTTP_COOKIE"    => encode_cookies, 
    249250            "HTTPS"          => https? ? "on" : "off",