...
Code Block |
---|
$ curl http://localhost:8080/rest/fcr:new/fcr:content?checksumType=SHA-1&checksum=5441456941dd8b3ee0832b991ee93ba0c0a558f7checksum=urn:sha1:5441456941dd8b3ee0832b991ee93ba0c0a558f7 --data-binary @image.png -> 201 Created $ curl http://localhost:8080/rest/fcr:new/fcr:content?checksum=urn:sha1:bad-checksum --data-binary @image.png -> 409 Conflict urn:sha1:bad-checksum did not match urn:sha1:5441456941dd8b3ee0832b991ee93ba0c0a558f7 |
Durable storage
Fedora 4 can be configured to retain duplicate copies of binary content.
...