Skip to content

Instantly share code, notes, and snippets.

@mkantor
Created January 14, 2015 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkantor/fea79a7152050d9bb03f to your computer and use it in GitHub Desktop.
Save mkantor/fea79a7152050d9bb03f to your computer and use it in GitHub Desktop.
implicit def writeableOf_AnyContentAsMultiPartFormData(implicit codec: Codec): Writeable[AnyContentAsMultipartFormData] = {
writeableOf_multiPartFormData(codec).map(c => c.asMultipartFormData.getOrElse(MultipartFormData(Map(), List(), List(), List())))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment