sub redirect_ok { # draft-ietf-http-v10-spec-02.ps from www.ics.uci.edu, specify: # # If the 30[12] status code is received in response to a request using # the POST method, the user agent must not automatically redirect the # request unless it can be confirmed by the user, since this might change # the conditions under which the request was issued. my($self, $request) = @_; # return 0 if $request->method eq "POST"; 1; }