trying redirect approach to get auto content type now buffer will be empty this may work