Fixed issue #1490 about batch HTTP