fixes #3259 support yaml requests