Add support for content-type in a POST method. Submitted by: Philippe Marzouk <phil ozigo.org> Reviewed by: Aaron Bannert