Skip to content
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

HEAD does not properly set Content-Length #58

Open
GoogleCodeExporter opened this issue Apr 28, 2015 · 1 comment
Open

HEAD does not properly set Content-Length #58

GoogleCodeExporter opened this issue Apr 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use version 0.9.8, version 72 from subversion.
2. Run davserver -D . -n
3. Mount with fusedav,  fusedav http://localhost:8008 mnt
4. Read files on the mount to cause a HEAD

What is the expected output? What do you see instead?
The HEAD should set Content-Length to the size of the file, instead it returns 
0.  fusedav relies on this behavior. 

What version of the product are you using? On what operating system?
0.9.8, or version 72 from subversion
Ubuntu 12.04 x86_64

Please provide any additional information below.

Attached is a patch for 0.9.8

Original issue reported on code.google.com by haxmeadr...@gmail.com on 12 Sep 2012 at 3:05

Attachments:

@GoogleCodeExporter
Copy link
Author

Could you upload your patch on https://codereview.appspot.com/
I have some comments to do and it is much easier.

Original comment by cedric.krier@b2ck.com on 20 Sep 2012 at 9:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant