When no redirect parameter is supplied to login, returns a 200 not a 307
%- crip
"urbauth={<session>}; Path=/; Max-Age=86400"
::
- =/ new-location=@t
?~ redirect=(get-header:http 'redirect' u.parsed)
- '/'
- u.redirect
+ %- handle-response
+ :* %start
+ :- status-code=200
+ ^= headers
+ :~ ['set-cookie' cookie-line]
+ ==
+ data=~
+ complete=%.y
+ ==
::
%- handle-response
:* %start
:- status-code=307
^= headers
- :~ ['location' new-location]
+ :~ ['location' u.redirect]
['set-cookie' cookie-line]
==
data=~
