Fixed crashing on bad HTTP PUT path