save before to create httpchunk