main: modify content-type check
urlencoded: relax content-type check