Parse resource headers