From 3bb135ffccb1ed2df701e52c33a2099d4baa2252 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Thu, 13 Feb 2014 09:18:10 -0500 Subject: [PATCH] FS-6218 --resolve --- src/mod/applications/mod_http_cache/mod_http_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_http_cache/mod_http_cache.c b/src/mod/applications/mod_http_cache/mod_http_cache.c index 24ea2aa76c..3648f97e80 100644 --- a/src/mod/applications/mod_http_cache/mod_http_cache.c +++ b/src/mod/applications/mod_http_cache/mod_http_cache.c @@ -331,7 +331,7 @@ static switch_status_t http_put(url_cache_t *cache, http_profile_t *profile, swi switch_curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &httpRes); switch_curl_easy_cleanup(curl_handle); - if (httpRes == 200 || httpRes == 201 || httpRes == 204) { + if (httpRes == 200 || httpRes == 201 || httpRes == 202 || httpRes == 204) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s saved to %s\n", filename, url); if (cache_local_file) { cached_url_t *u = NULL;