Curl redirect fragment

fixes #82
I'm confused by this coding pattern. You essentially "handle" the exceptional behavior in the lines prior to throwing an exception. What is the purpose of this exception?