Skip to content

Instantly share code, notes, and snippets.

@jdee
Created October 19, 2010 19:30
Show Gist options
  • Save jdee/634897 to your computer and use it in GitHub Desktop.
Save jdee/634897 to your computer and use it in GitHub Desktop.
add these three lines
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