update client to work with more redirects
parent
eeade1d2b6
commit
fd4254ca09
|
@ -44,7 +44,7 @@ DEFER: http-get-stream
|
||||||
#! Should this support Location: headers that are
|
#! Should this support Location: headers that are
|
||||||
#! relative URLs?
|
#! relative URLs?
|
||||||
pick 100 /i 3 = [
|
pick 100 /i 3 = [
|
||||||
stream-close "Location" swap at nip http-get-stream
|
stream-close "location" swap header-single nip http-get-stream
|
||||||
] when ;
|
] when ;
|
||||||
|
|
||||||
: http-get-stream ( url -- code headers stream )
|
: http-get-stream ( url -- code headers stream )
|
||||||
|
|
Loading…
Reference in New Issue