-
Notifications
You must be signed in to change notification settings - Fork 451
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
report with time-range #389
Comments
Hi! Thanks for your report! Radicale is really bad at handling HTTP requests, because it's focused on real-life CalDAV and CardDAV clients. It's really easy to make it crash with HTTP requests as you did, but that's not a bug we want to fix. But. The next version (defined in #372) should be more solid. The current git version is known to work with some WebDAV clients for example, and uses a real iCal parser. But it's probably easy to make it crash too with HTTP requests! |
@liZe What do you consider "real-life"? |
😄. I mean "CalDAV and CardDAV clients" (without "real-life"). |
In this case, all that is missing from the HTTP requests is the Content-Length header. While there are valid reasons to reject requests missing that header to protect from DoS, Radicale doesn't make use of any of those. |
Radicale uses the Content-Length header to read the content of the request, that's why it fails. |
Ok then I will try with content-length header
Regards
|
Hi, I just read the RFC, but I did not find any information on Content-Length. How do you set this value ? Is this value is corresponding to the number of characters of all headers ? Thanks for help, Best, |
@remyd1 It's in one of the HTTP RFCs: https://tools.ietf.org/html/rfc7230#section-3.3.2 |
Ok, thanks, it works now (not a problem with Content-Length). Sorry, I was trying to put the payload in a header... |
@remyd1 can we close the bug? |
Sure.
Thanks.
|
Hi,
I made some little bash scripts to query a caldav server:
https://gist.github.com/remyd1/a353b07219884c5878cc27d04aab9d96
However, I am not able to have the REPORT queries working correctly with our radicale server, contrary to GET or PROPFIND request.
It returns the following output:
I do not know if it really comes from radicale. Anyway, here are the debug informations, I found:
=> 'CONTENT_LENGTH' seems to be equals to "".
I have the same error, even with more basics REPORT request like:
Regards
Rémy
The text was updated successfully, but these errors were encountered: