lighttpd 1.4.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
545 B

* http_date - HTTP date manipulation
* Copyright(c) 2015 Glenn Strauss gstrauss() All rights reserved
* License: BSD 3-clause (same as lighttpd)
#include "first.h"
#ifdef __cplusplus
extern "C" {
#define HTTP_DATE_SZ 30 /* (IMF-fixdate is 29 chars + '\0') */
size_t http_date_time_to_str (char *s, size_t max, time_t t);
int http_date_if_modified_since (const char *ifmod, const char *lmod, time_t lmtime);
#ifdef __cplusplus