<?xml version="1.0" encoding="windows-1252"?>
<node id="147504" title="Re: LWP::Simple and redirects" created="2002-02-26 03:05:42" updated="2005-07-21 01:30:50">
<type id="11">
note</type>
<author id="53200">
arhuman</author>
<data>
<field name="doctext">
Are you GETting the page or POSTing.&lt;br&gt;
If you use POST your problem may come from strict RFC compliance.&lt;br&gt;
From memory :
&lt;ul&gt;
&lt;li&gt; RFC : If you get a 30x on a POST you shouldn't follow the redirection
&lt;li&gt; BUT some (most) browsers follow the redirection in such case but GET the redirected page...
&lt;/ul&gt;
Try to play with redirect_ok() ...&lt;br&gt;
&lt;br&gt;"&lt;b&gt;O&lt;/b&gt;nly &lt;b&gt;B&lt;/b&gt;ad &lt;b&gt;C&lt;/b&gt;oders &lt;b&gt;C&lt;/b&gt;ode &lt;b&gt;B&lt;/b&gt;adly  &lt;b&gt;I&lt;/b&gt;n &lt;b&gt;P&lt;/b&gt;erl" (OBC2BIP)&lt;br&gt;</field>
<field name="root_node">
147433</field>
<field name="parent_node">
147433</field>
</data>
</node>
