Fix POST requests by waiting to open input streams

Change-Id: Ibc6c5c216adb43f872a1cb19a2d49dfd0e3ddcca
2 files changed