summaryrefslogtreecommitdiffstats
path: root/lib/utils/abrt_rh_support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/abrt_rh_support.cpp')
-rw-r--r--lib/utils/abrt_rh_support.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/abrt_rh_support.cpp b/lib/utils/abrt_rh_support.cpp
index 4a1d80f0..fd78a427 100644
--- a/lib/utils/abrt_rh_support.cpp
+++ b/lib/utils/abrt_rh_support.cpp
@@ -397,6 +397,8 @@ send_report_to_new_case(const char* baseURL,
char *case_location = find_header_in_abrt_post_state(case_state, "Location:");
switch (case_state->http_resp_code)
{
+ case 301: /* "301 Moved Permanently" (for example, used to move http:// to https://) */
+ case 302: /* "302 Found" (just in case) */
case 305: /* "305 Use Proxy" */
if (++redirect_count < 10 && case_location)
{