format http content