The request gets checked against "HTTP_X_COPY_FROM", which is the swift header. However, the request in that function is the original AWS request, so the check should be against HTTP_X_AMZ_COMPY_SOURCE instead.
I'll cook up a patch asap, though I'm struggling with how to do proper unit testing.
When an object copy is posted, an empty response is returned. This is caused at line
https:/ /github. com/stackforge/ swift3/ blob/master/ swift3/ controllers/ obj.py# L58
The request gets checked against "HTTP_X_COPY_FROM", which is the swift header. However, the request in that function is the original AWS request, so the check should be against HTTP_X_ AMZ_COMPY_ SOURCE instead.
I'll cook up a patch asap, though I'm struggling with how to do proper unit testing.