Skip to content

Instantly share code, notes, and snippets.

@jeffbski
Created September 12, 2011 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffbski/1212656 to your computer and use it in GitHub Desktop.
Save jeffbski/1212656 to your computer and use it in GitHub Desktop.
jsDAV MS Word Windows save fails
jsDAV server running on http://0.0.0.0:8000
REQUEST START: / 1
INFO: invoking method 'PROPFIND' 1
INFO: sending header: 207 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 1
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:multistatus xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"><d:response><d:href>/</d:href><d:propstat><d:prop><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:26:20 -0500</d:getlastmodified><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response></d:multistatus>'
REQUEST START: / 2
INFO: invoking method 'PROPFIND' 2
INFO: sending header: 207 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 2
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:multistatus xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"><d:response><d:href>/</d:href></d:response></d:multistatus>'
REQUEST START: / 3
INFO: invoking method 'PROPFIND' 3
INFO: sending header: 207 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 3
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:multistatus xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"><d:response><d:href>/</d:href><d:propstat><d:prop><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:26:20 -0500</d:getlastmodified><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response></d:multistatus>'
REQUEST START: / 4
INFO: invoking method 'PROPFIND' 4
INFO: sending header: 207 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 4
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:multistatus xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"><d:response><d:href>/</d:href><d:propstat><d:prop><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:26:20 -0500</d:getlastmodified><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response></d:multistatus>'
REQUEST START: /Hello1.doc 5
INFO: invoking method 'HEAD' 5
INFO: sending header: 404 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 5
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:error xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"> <a:exception>jsDAV_Exception_FileNotFound</a:exception> <a:message>File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found</a:message><a:file></a:file><a:line></a:line><a:jsdav-version>0.1.2</a:jsdav-version></d:error>'
ERROR: { code: 404,
type: 'jsDAV_Exception_FileNotFound',
message: 'File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found' }
REQUEST START: /Hello1.doc 6
INFO: invoking method 'HEAD' 6
INFO: sending header: 404 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 6
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:error xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"> <a:exception>jsDAV_Exception_FileNotFound</a:exception> <a:message>File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found</a:message><a:file></a:file><a:line></a:line><a:jsdav-version>0.1.2</a:jsdav-version></d:error>'
ERROR: { code: 404,
type: 'jsDAV_Exception_FileNotFound',
message: 'File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found' }
REQUEST START: / 7
INFO: invoking method 'OPTIONS' 7
INFO: sending header: 200 { Allow: 'OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT,LOCK,UNLOCK',
'MS-Author-Via': 'DAV',
'Accept-Ranges': 'bytes',
'X-jsDAV-Version': '0.1.2',
'Content-Length': 0,
DAV: '1,3,extended-mkcol,2' }
INFO: request end: 7
INFO: writing body: ''
REQUEST START: /Hello1.doc 8
INFO: invoking method 'OPTIONS' 8
INFO: sending header: 200 { Allow: 'OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT,MKCOL,LOCK,UNLOCK',
'MS-Author-Via': 'DAV',
'Accept-Ranges': 'bytes',
'X-jsDAV-Version': '0.1.2',
'Content-Length': 0,
DAV: '1,3,extended-mkcol,2' }
INFO: request end: 8
INFO: writing body: ''
REQUEST START: /Hello1.doc 9
INFO: invoking method 'PROPFIND' 9
INFO: sending header: 404 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 9
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:error xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"> <a:exception>jsDAV_Exception_FileNotFound</a:exception> <a:message>File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found</a:message><a:file></a:file><a:line></a:line><a:jsdav-version>0.1.2</a:jsdav-version></d:error>'
ERROR: { code: 404,
type: 'jsDAV_Exception_FileNotFound',
message: 'File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found' }
REQUEST START: /Hello1.doc 10
INFO: invoking method 'PROPFIND' 10
INFO: sending header: 404 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 10
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:error xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"> <a:exception>jsDAV_Exception_FileNotFound</a:exception> <a:message>File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found</a:message><a:file></a:file><a:line></a:line><a:jsdav-version>0.1.2</a:jsdav-version></d:error>'
ERROR: { code: 404,
type: 'jsDAV_Exception_FileNotFound',
message: 'File at location /Users/barczewskij/projects/jsDAV/test/assets/Hello1.doc not found' }
REQUEST START: / 11
INFO: invoking method 'OPTIONS' 11
INFO: sending header: 200 { Allow: 'OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT,LOCK,UNLOCK',
'MS-Author-Via': 'DAV',
'Accept-Ranges': 'bytes',
'X-jsDAV-Version': '0.1.2',
'Content-Length': 0,
DAV: '1,3,extended-mkcol,2' }
INFO: request end: 11
INFO: writing body: ''
REQUEST START: /Hello1.doc 12
INFO: invoking method 'OPTIONS' 12
INFO: sending header: 200 { Allow: 'OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT,MKCOL,LOCK,UNLOCK',
'MS-Author-Via': 'DAV',
'Accept-Ranges': 'bytes',
'X-jsDAV-Version': '0.1.2',
'Content-Length': 0,
DAV: '1,3,extended-mkcol,2' }
INFO: request end: 12
INFO: writing body: ''
REQUEST START: /Hello1.doc 13
INFO: invoking method 'LOCK' 13
argument after event 'unknownmethod': true
INFO: sending header: 201 { 'Content-Type': 'application/xml; charset=utf-8',
'Lock-Token': '<opaquelocktoken:44445502-d3fe-1d4f-defc-ba49aa848bb3>' }
INFO: request end: 13
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:prop xmlns="d"> <d:lockdiscovery><d:activelock><d:lockscope><d:shared/></d:lockscope><d:locktype><d:write/></d:locktype><d:depth>infinity</d:depth><d:timeout>Second-1800</d:timeout><d:locktoken><d:href>opaquelocktoken:44445502-d3fe-1d4f-defc-ba49aa848bb3</d:href></d:locktoken><d:owner>null</d:owner></d:activelock></d:lockdiscovery></d:prop>'
REQUEST START: /Hello1.doc 14
INFO: invoking method 'PUT' 14
argument after event 'beforemethod': [object Object]
INFO: sending header: 200 { 'Content-Length': '0' }
INFO: request end: 14
INFO: writing body: ''
REQUEST START: / 15
INFO: invoking method 'PROPFIND' 15
INFO: sending header: 207 { 'Content-Type': 'application/xml; charset=utf-8' }
INFO: request end: 15
INFO: writing body: '<?xml version="1.0" encoding="utf-8"?><d:multistatus xmlns:d="DAV:" xmlns:a="http://ajax.org/2005/aml"><d:response><d:href>/</d:href><d:propstat><d:prop><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:27:04 -0500</d:getlastmodified><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response><d:response><d:href>/Hello1.doc</d:href><d:propstat><d:prop><d:getcontenttype>application/msword</d:getcontenttype><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:27:04 -0500</d:getlastmodified><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response><d:response><d:href>/jsdav_1dd3b513f0651866e59c525d0114035339df423f.locks</d:href><d:propstat><d:prop><d:getcontenttype>application/octet-stream</d:getcontenttype><d:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">Mon, 12 Sep 2011 17:27:04 -0500</d:getlastmodified><d:getcontentlength>142</d:getcontentlength><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 200 Ok</d:status></d:propstat></d:response></d:multistatus>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment