Get content-type from http.post

Hi all ! Could anyone suggest please, how to get content-type from http.post to check if this text/json or somithing other …