Revision 4a1c29ea pithos/public/functions.py

b/pithos/public/functions.py
71 71
        raise ItemNotFound('Object does not exist')
72 72
    update_manifest_meta(request, v_account, meta)
73 73
    
74
    response = HttpResponse(status=204)
75
    put_object_meta(response, meta, True)
74
    response = HttpResponse(status=200)
75
    put_object_headers(response, meta, True)
76 76
    return response
77 77

  
78 78
@api_method('GET', user_required=False)
......
103 103
        validate_matching_preconditions(request, meta)
104 104
    except NotModified:
105 105
        response = HttpResponse(status=304)
106
        response['ETag'] = meta['hash']
106
        response['ETag'] = meta['ETag']
107 107
        return response
108 108
    
109 109
    sizes = []

Also available in: Unified diff