autodetect and redirect when missing slash at the end of line
support binary responses