[libgdata/libgdata-0-6] [core] Catch HTTP 412 errors as version mismatches



commit 628c085ad83e39cd02062066aed36d3861f46ac3
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Mar 19 15:54:38 2010 +0000

    [core] Catch HTTP 412 errors as version mismatches

 gdata/gdata-service.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 72e6b49..99ac102 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -351,6 +351,7 @@ real_parse_error_response (GDataService *self, GDataOperationType operation_type
 				     _("The requested resource was not found: %s"), response_body);
 			return;
 		case 409:
+		case 412:
 			g_set_error (error, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_CONFLICT,
 				     /* Translators: the parameter is an error message returned by the server. */
 				     _("The entry has been modified since it was downloaded: %s"), response_body);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]