cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Riede (JIRA)" <>
Subject [jira] Created: (COCOON-2041) WebDAV Returns improper status on PUT
Date Mon, 09 Apr 2007 05:42:32 GMT
WebDAV Returns improper status on PUT

                 Key: COCOON-2041
             Project: Cocoon
          Issue Type: Bug
          Components: Blocks: WebDAV
    Affects Versions: 2.1.11-dev (Current SVN)
            Reporter: Edward Riede

on PUT, server returns the status 200 "OK", when the proper response seems to 204 "No Content"

int the put method in webdav.js:::  this:

  try {
    var status =,dest);

can be changed to this:
  try {
    var status =,dest);
    if(status == 200 ) status = 204;

This fixed the issue in my application.  However this seems  a little hackish and I haven't
tested it well. 
The org.apache.cocoon.components.repository.SourceRepository object might be changed instead.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message