How do I generate an ETag HTTP header for a resource file?

Edit
Report