From aaaed55cd46902612f1ba93ac3394cfd99679b00 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 10 Apr 2017 15:38:58 -0700 Subject: Stop sending X-Static-Large-Object headers If we were to include this in a normal PUT, it would 400, but only if slo is actually in the pipeline. If it's *not*, we'll create a normal Swift object and the header sticks. - This is really confusing for users; see the related bug. - If slo is later enabled in the cluster, Swift starts responding 500 with a KeyError because the client and on-disk formats don't match! Change-Id: I1d80c76af02f2ca847123349224ddc36d2a6996b Related-Change: I986c1656658f874172860469624118cc63bff9bc Related-Bug: #1680083 --- swiftclient/service.py | 1 - 1 file changed, 1 deletion(-) (limited to 'swiftclient') diff --git a/swiftclient/service.py b/swiftclient/service.py index ce0c4fc..b933d4b 100644 --- a/swiftclient/service.py +++ b/swiftclient/service.py @@ -1983,7 +1983,6 @@ class SwiftService(object): } for d in segment_results ]) - put_headers['x-static-large-object'] = 'true' mr = {} conn.put_object( container, obj, manifest_data, -- cgit v1.2.1