Re: What is the external redirector script supposed to return?

Daniel Choi <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Thank you for answering my question. Cheers, 

Dan



On Tue, Jul 12, 2011 at 08:10 AM, Juliusz Chroboczek <[email protected]> wrote:

> from: Juliusz Chroboczek <[email protected]>
> date: Tue, Jul 12 02:10 PM +02:00 2011
> to: Daniel Choi <[email protected]>
> cc: [email protected]
> subject: Re: [Polipo-users] What is the external redirector script supposed to return?
> 
>> I'm looking at 3.8.2 in the manual, External redirectors. What are the
>> possible strings for TRUE or FALSE that the redirector script is
>> supposed to print to STDOUT?
> 
> Polipo prints a URL.  The redirector should either return a blank line,
> meaning that this URL should not be redirected, or else should print
> the URL to redirect to.
> 
>> And should they include a newline or not?
> 
> Yes.
> 
>> I tried looking for the documentation for the redirectorRedirectCode
>> variable, but none seems to be on this page.
> 
> Huh?
> 
>   the kind of redirection generated is specified by `redirectorRedirectCode',
>   which should be 302 (the default) or 301.
> 
> The default value should be fine, unless you're doing weird things with
> chained proxies.
> 
> -- Juliusz


--
Sent from vmail. http://danielchoi.com/software/vmail.html

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.