Created
October 19, 2010 19:30
-
-
Save jdee/634897 to your computer and use it in GitHub Desktop.
add these three lines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_contents | |
@staged_message = StagedMessage.new params[:staged_message] | |
@staged_message.hl7_message ||= request.body.read.chomp | |
puts "CONTENT_TYPE=#{request.env['CONTENT_TYPE']}" # <<<< line 183 | |
puts "Content-Type=#{request['Content-Type']}" # <<<< | |
puts "format=#{request.format}" # <<<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment