Revision 713faea6 daemons/ganeti-rapi
b/daemons/ganeti-rapi | ||
---|---|---|
61 | 61 |
|
62 | 62 |
try: |
63 | 63 |
result = fn() |
64 |
sn = handler.getSerialNumber() |
|
65 |
if sn: |
|
66 |
req.response_headers[http.HTTP_ETAG] = str(sn) |
|
64 | 67 |
except: |
65 | 68 |
logging.exception("Error while handling the %s request", method) |
66 | 69 |
raise |
Also available in: Unified diff