You can add a custom http header on the request from the client, and then read it from the server.
Edit:
Example for request with custom header:
DELETE /path/to/resource HTTP/1.1
Host: localhost:8080
Accept: */*
Delete-Comment: not needed anymore
Response:
HTTP/1.1 410 Gone
Date: Thu, 14 Nov 2013 13:56:26 GMT
Content-Length: 0
Note that X-Headers are deprecated: Custom HTTP headers : naming conventions