xsl-list
[Top] [All Lists]

document() and HTTP headers

2005-12-12 11:19:48
I want to modify the behaviour of the document() XPath function.

Due to some recent trouble involving an eternal loop of document()
calls, I'd like to set a  Referer header for the HTTP request that is
made when fetching a remote document. By default, it seems, there's no
Referer header set.

If I could set the Referer header to something meaningful, and then
examining it upon receiving a request, I can determine if we're
looping or not.

How can I accomplish that? Using Saxon 6.5.

--
Vidar S. Ramdal <vramdal(_at_)gmail(_dot_)com>
"My sources are unreliable, but their information is fascinating"
(Ashley Brilliant)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>