be able to process the pkgs with chunk-encoding