Skip to content

Instantly share code, notes, and snippets.

@jdee
Created October 19, 2010 19:14
Show Gist options
  • Select an option

  • Save jdee/634852 to your computer and use it in GitHub Desktop.

Select an option

Save jdee/634852 to your computer and use it in GitHub Desktop.
when is a format not a format?
# from the API script
CONTENT_TYPE=application/edi-hl7v2
Content-Type=
format=*/* # <<<<< huh???
in before_filter :check_contents: @staged_message.hl7_message.is_a String
# from my Java client
CONTENT_TYPE=application/edi-hl7v2
Content-Type=
format=application/edi-hl7v2
in before_filter :check_contents: @staged_message.hl7_message.is_a String
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment