The main HTTP protocol is TCP, which already has a checksum mechanism, so I think it would be useless.
If you still need such a thing, you can calculate the SHA1 signature of the body contents and include it as a custom header in your answer, something like
HTTP/1.1 200 OK Date: Thu, 30 Jun 2011 21:32:20 GMT Server: Apache Connection: close Content-Type: application/json X-Checksum: 40325305549f7a09edb51ff8df9528ffd8434ac6
Fabio
source share