Added much better and correct handling of content-type HTTP header
Authored by: artyom-beilis 2010-09-22
Parent: [r1467]
Child: [r1469]