Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

[PATCH] fix HTTP date and add last-modified to HEAD request

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


michael-dev at fami-braun

Aug 16, 2012, 1:09 PM

Post #1 of 1 (147 views)
Permalink
[PATCH] fix HTTP date and add last-modified to HEAD request

Hi,

I use phpICalender show multiple calenders on a website using davical's
public.php. To speedup the website by skipping calender parsing, I want
phpIcalender to be able to fetch the Last-Modified timestamp using a
HEAD request. This patch adds the Last-Modified HTTP header to
collection GET requests.

While testing this, I found the HTTP date being generated to be invalid
(using Mo instead of Mon for weekday abbrevation), so the date would not
be parsed by libcurl - maybe due to a non-US locale. So this patch also
adds explicit weekday abbreviations to the HTTP date converter.

Regards,
M. Braun
Attachments: davical-add-lastmodified.diff (1.67 KB)

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.