RE: Verifying Content-MD5

2010-05-29 Thread Jerome Louvel
- De : Bruno Harbulot [mailto:bruno.harbu...@manchester.ac.uk] Envoyé : jeudi 20 mai 2010 16:01 À : discuss@restlet.tigris.org Objet : Re: Verifying Content-MD5 Hi Jean-Philippe, It doesn't, and the main problem is that you need to consume the stream for the digest to be computed. If you

Re: Verifying Content-MD5

2010-05-20 Thread Bruno Harbulot
Hi Jean-Philippe, It doesn't, and the main problem is that you need to consume the stream for the digest to be computed. If you want to do it in a filter, you have to store whatever your read and then put the data back into the representation. I've just tried with a simple example and a some

Verifying Content-MD5

2010-05-19 Thread Jean-Philippe Steinmetz
Hello, I have a simple question. Does the restlet server connector verify Content-MD5 headers by default? If not, is there a setting or filter I can enable to make sure that it does? Jean-Philippe --