generic http content upload handler