Fix headers response build (via @gguerrero)