Skip to content

Instantly share code, notes, and snippets.

@bjartek
Created July 18, 2009 21:47
Show Gist options
  • Save bjartek/149699 to your computer and use it in GitHub Desktop.
Save bjartek/149699 to your computer and use it in GitHub Desktop.
Set() ++ ( for{
header <- headers firstHeader "Allow"
key <- header.direction.keySet
value <- Method.valueOf(key)
} yield {
Set(value)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment