fix for POSTs in http
fix for POSTs in http