Comments (2)
The flow in jsDAV when a GET is requested on a directory should be as follows:
1. if the browser plugin is loaded (lib/DAV/plugins/browser.js), GET requests on directory objects are caught and displays a listing of the directory contents in HTML format
2. if the browser plugin is not loaded jsDAV will return a HTTP status 501 (Not Implemented) as response.
I am wondering now which version - or revision - of jsDAV you're using? When I look at https://github.com/mikedeboer/jsDAV/blob/master/lib/DAV/handler.js#L364 the code to handle GET requests on directories and returning a 501 is there.
I'm also asking about the version/ revision, because on the 'node.get(' call is not on line 547 in handler.js...
from jsdav.
Well the function the error had to do with is "this.httpHead" https://github.com/mikedeboer/jsDAV/blob/master/lib/DAV/handler.js#L507, but I actually I forgot I added the node.get to that function sorry about that. It was necessary to for me to get the length of the body for the content-length header which you are missing. Which is actually another issue I'm going to open.
from jsdav.
Related Issues (20)
- jCal/jCard parsing HOT 1
- VObject/Property .hasFeature is not defined on String HOT 3
- Question: How to run server using HTTPS? HOT 1
- DavMount link dead HOT 1
- Passing multiple Trees as array to nodes to WebDAV Server instance? HOT 9
- Unable to run inside Docker container HOT 1
- How to filter response sent to client?
- Tree insideSandbox doesn't account for immediate parent directory
- Regular Expression Denial of Service HOT 1
- Delete locks on DELETE method HOT 6
- Unterminated character class HOT 1
- Space in filename is not recognized HOT 4
- User management for jsDAV
- How jsDAV callbacks work
- carddav
- jsDAV - Unsupported method
- Can you support hooks?
- Upgrade moment to 2.11.2 - CVE-2016-4055
- CalDAV Backend? HOT 2
- New webdav client
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 jsdav.