which_encoding (OpenID::Server::OpenIDResponse)

    # File lib/openid/server.rb, line 881
          def which_encoding
            # How should I be encoded?
            # returns one of ENCODE_URL or ENCODE_KVFORM.
            if BROWSER_REQUEST_MODES.member?(@request.mode)
              if @fields.get_openid_namespace == OPENID2_NS and
                  encode_to_url.length > OPENID1_URL_LIMIT
                return ENCODE_HTML_FORM
              else
                return ENCODE_URL
              end
            else
              return ENCODE_KVFORM
            end
          end