Comments (3)
Dit komt volgens mij omdat het response element ook helemaal geen status element heeft. Dat krijgt hij alleen mee in het geval van een COPY of MOVE of DELETE oid om aan te geven of de handeling is geslaagd op de in de href genoemde resource.
In het geval van een PROPSTAT krijgt niet de response, maar de property een status mee. Met andere woorden, probeer eens deze code uit:
var namespace = 'DAV:';
var propertyName = 'acl'; //Vul de property in die je wilt checken
console.log(data.getResponse(responseName).getProperty(namespace, propertyName).status);
Kun je me laten weten of dat werkt?
from js-webdav-client.
Hoi Niek,
Dit had ik (als eerste) al geprobeerd maar dat geeft ook null helaas.
Groetjes Laura
Op 10 jan. 2013, om 17:44 heeft Niek Bosch <[email protected]mailto:[email protected]> het volgende geschreven:
Dit komt volgens mij omdat het response element ook helemaal geen status element heeft. Dat krijgt hij alleen mee in het geval van een COPY of MOVE of DELETE oid om aan te geven of de handeling is geslaagd op de in de href genoemde resource.
In het geval van een PROPSTAT krijgt niet de response, maar de property een status mee. Met andere woorden, probeer eens deze code uit:
var namespace = 'DAV:';
var propertyName = 'acl'; //Vul de property in die je wilt checken
console.log(data.getResponse(responseName).getProperty(namespace, propertyName).status);
Kun je me laten weten of dat werkt?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-12105931.
from js-webdav-client.
Problem fixed in commit aaef1a51c344034d365cb97d16446392cd52701b
from js-webdav-client.
Related Issues (11)
- Check if page is still active during AJAX requests
- Replace == and != by === and !== HOT 1
- Return response body on non-207 responses
- Allow additional headers
- Implement LOCK and UNLOCK methodes
- Make Makefile OS independent (if possible)
- Be able to send with credentials
- Looks nice, an example maybe?
- API Doc is out of date
- Optional parameter 'headers' for lock/unlock not catched
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-webdav-client.