fixed Put and Post compatibility issue with Passenger