adding operation-location to headers that are scrubbed
@@ -216,6 +216,7 @@ class GeneralNameReplacer(RecordingProcessor):
body = response['body']['string']
response['body']['string'].decode('utf8', 'backslashreplace').replace(old, new).encode('utf8', 'backslashreplace')
self.replace_header(response, 'location', old, new)
+ self.replace_header(response, 'operation-location', old, new)
self.replace_header(response, 'azure-asyncoperation', old, new)
return response
