-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix DAV class from 2 to 1,2 (like apache) #46
base: master
Are you sure you want to change the base?
Conversation
|
Отличная страница, читал ее. На мой взгляд, вполне можно исправить в коде то, что не работает по дефолту. Кстати, вопрос по этой странице, я так и не понял, зачем в конфиг ставить ограничение client_max_body_size 50m; Фактически, это значит, что файлы больше 50 мб загрузить на этот сервер не получится? |
Not, that means requests with body part larger than 50MB of declared length won't be handled by the server. |
@avlubimov Насколько я понял, всё то что я хакаю в конфиге - это отклонение от стандарта описанного в RFC.
|
I have found that most clients require a dav class1 to work
For example, davfs2 or fuse-wdfs check class1 and if they don't find it, they write it.
/sbin/mount.davfs: mounting failed; the server does not support WebDAV
I checked with wireshark that the lua-nginx-module puts the header "dav"="2" while the apache server puts the header "dav"="1,2" and therefore davfs and wdfs work with apache without problems and do not work with nginx.
The proposed patch displays the dav version as well as apache.