Error with Test-async-http.r in rebol
问题 I tried http://rebol.wik.is/Protocols/Test-async-http.r do %async-protocol.r do %async-http.r buffer: copy "" content-length: 0 handler: func [port [port!] event [error! word!] ] [ switch event [ connect [print "Connected." false] read [ if port/sub-port/state/inbuffer [ statustxt/text: form length? port/sub-port/state/inbuffer show statustxt if zero? content-length [ either parse/all port/sub-port/state/inbuffer [ thru "content-length: " copy content-length to newline to end ][ if content