You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/04/05 18:03:00 UTC

cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods WebdavMethodBase.java

juergen     01/04/05 09:03:00

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        WebdavMethodBase.java
  Log:
  the headers were cleared before the request was sent, resulting in a deletion of already set headers (like if-modified). from version 1.4 to 1.5 this clear was introduced due to (sporadic) errors in case of re-sending the request. Possibly this error is aktiv again. Can someone give me a hint where to look for this re-sending?
  
  Revision  Changes    Path
  1.21      +5 -7      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/WebdavMethodBase.java
  
  Index: WebdavMethodBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/WebdavMethodBase.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- WebdavMethodBase.java	2001/03/23 05:06:39	1.20
  +++ WebdavMethodBase.java	2001/04/05 16:02:59	1.21
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/WebdavMethodBase.java,v 1.20 2001/03/23 05:06:39 remm Exp $
  - * $Revision: 1.20 $
  - * $Date: 2001/03/23 05:06:39 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/WebdavMethodBase.java,v 1.21 2001/04/05 16:02:59 juergen Exp $
  + * $Revision: 1.21 $
  + * $Date: 2001/04/05 16:02:59 $
    *
    * ====================================================================
    *
  @@ -329,7 +329,7 @@
   
       /**
        * Set URL parameter.
  -     * 
  +     *
        * @param parameterName Parameter name
        * @param parameterValue Parameter value
        */
  @@ -340,7 +340,7 @@
   
       /**
        * Set query string.
  -     * 
  +     *
        * @param queryString Query string
        */
       public void setQueryString(String queryString) {
  @@ -419,8 +419,6 @@
        * @param state State token
        */
       public void generateHeaders(String host, State state) {
  -
  -        headers.clear();
   
           // good practice to provide a user-agent indicator
           if (!headers.containsKey("user-agent")) {
  
  
  

Re: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods WebdavMethodBase.java

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
NOTICE:  Just let you know about the current status of Slide client
operation.

Currently, the nightly builds don't work fine.
Especially, The sites to be being reqested authorization and
redirection don't work fine.

Now, It's being worked for the below article.
Please, refer to it.

Sung-Gu


== Commited messages  ========================

>   Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
>                         WebdavMethodBase.java
>   Log:
>   the headers were cleared before the request was sent, resulting in a
deletion of already set headers (like if-modified). from version 1.4 to 1.5
this clear was introduced due to (sporadic) errors in case of re-sending the
request. Possibly this error is aktiv again. Can someone give me a hint
where to look for this re-sending?

>        public void generateHeaders(String host, State state) {
>   -
>   -        headers.clear();
>
>            // good practice to provide a user-agent indicator

P.S. If you want the Slide client to work fine, you need to add this code.



Re: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods WebdavMethodBase.java

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
NOTICE:  Just let you know about the current status of Slide client
operation.

Currently, the nightly builds don't work fine.
Especially, The sites to be being reqested authorization and
redirection don't work fine.

Now, It's being worked for the below article.
Please, refer to it.

Sung-Gu


== Commited messages  ========================

>   Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
>                         WebdavMethodBase.java
>   Log:
>   the headers were cleared before the request was sent, resulting in a
deletion of already set headers (like if-modified). from version 1.4 to 1.5
this clear was introduced due to (sporadic) errors in case of re-sending the
request. Possibly this error is aktiv again. Can someone give me a hint
where to look for this re-sending?

>        public void generateHeaders(String host, State state) {
>   -
>   -        headers.clear();
>
>            // good practice to provide a user-agent indicator

P.S. If you want the Slide client to work fine, you need to add this code.