X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=43540b39de06a17d3bbf125e77cb51eeb7748cdd;hp=56ca0f61a3f045587d6e455347fa2570e435a6ca;hb=3177ba2e5ef642f38c01568afcaa547df65f3e74;hpb=de16567e9643ae9a0fb33e81419985492ecf5a37 diff --git a/http_cache_api.c b/http_cache_api.c index 56ca0f6..43540b3 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -237,7 +237,7 @@ PHP_HTTP_API void _http_ob_etaghandler(char *output, uint output_len, /* just do that if desired */ if (HTTP_G(etag).started) { make_digest(etag, digest); - http_send_header("Cache-Control: " HTTP_DEFAULT_CACHECONTROL); + http_send_cache_control(HTTP_DEFAULT_CACHECONTROL, lenof(HTTP_DEFAULT_CACHECONTROL)); http_send_etag(etag, 32); if (http_match_etag("HTTP_IF_NONE_MATCH", etag)) {