web/request.py
changeset 9736 e0b3fcf1c205
parent 9601 e5a80bd337e8
child 9818 e3d2012adcd0
--- a/web/request.py	Tue Apr 08 16:12:39 2014 +0200
+++ b/web/request.py	Mon Mar 24 10:34:58 2014 +0100
@@ -769,10 +769,6 @@
             if 'Expires' not in self.headers_out:
                 # Expires header seems to be required by IE7 -- Are you sure ?
                 self.add_header('Expires', 'Sat, 01 Jan 2000 00:00:00 GMT')
-            if self.http_method() == 'HEAD':
-                self.status_out = 200
-                # XXX replace by True once validate_cache bw compat method is dropped
-                return 200
             # /!\ no raise, the function returns and we keep processing the request
         else:
             # overwrite headers_out to forge a brand new not-modified response