jakarta-commons httpclient inquiry + patch:

The HttpMethod interface declares a method called
recycle():

----------------

    /**
     * Recycle this method so that it can be used again.
     * Note that all of my instance variables will be reset
     * once this method has been called.
     */
    public void recycle();

----------------

The GetMethod class implements the HttpMethod interface
and the recycle method:

#################

   // override recycle to reset redirects default
   public void recycle() {
        super.recycle();
        setFollowRedirects(true);
    }

################


GetMethod.recycle() does not reset its instance variables properly.

I am attaching a patch for GetMethod.java  (patch file:  GetMethod.patch)

Cheers,

-Sean

Attachment: GetMethod.patch
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to