Yeah, wow, that's quite amazing.
Prompts me to propose a new mezzanine like this:
word-diff: func [code][
query/clear system/words
do code
query/clear system/words
]
Similar in concept to attempt.
Usage:
code: [read http://www.rebol.com]
word-diff code
probe words: word-diff code
;== [line HTTP-Get-Header continue-post HTTP-Header tunnel-actions
; response-code tunnel-success forward proxyauth]
Could be useful built-in.
It seems an important debugging tool,
why not make it easy to use?
Anton.
> Hi Brett,
>
> It is one of many words that the http handler forgets to make
> local, the buggy
> function is open, it has many locals:
>
> /local http-packet http-command response-actions success error
> response-line
> target headers http-version post-data result generic-proxy?
> sub-protocol
> build-port send-and-check create-request
>
> but they are not enough ;-)
>
> It changes the value of these global words:
>
> line
> HTTP-Get-Header
> continue-post
> HTTP-Header
> tunnel-actions
> response-code
> tunnel-success
> forward
> proxyauth
>
> Try:
>
> query/clear system/words
> open http://www.rebol.com
> query/clear system/words
> open http://www.rebol.com
> probe query/clear system/words
>
> open must be done twice, to see only the words that are changed.
>
> Could be a wanted result for some words? I do not think it.
>
> (submitted to feedback)
>
> ---
> Ciao
> Romano
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.