fix multipart response mixup, fixes replication.js