1. Mariano Mara
  2. webob-screwup-backup

Commits

maluke  committed 2933a70

Fix in Request.remove_conditional_headers(): HTTP_IF_MATCH is supposed to be HTTP_IF_NONE_MATCH

  • Participants
  • Parent commits 135cfe3
  • Branches default

Comments (0)

Files changed (1)

File webob/__init__.py

View file
  • Ignore whitespace
         if remove_range:
             check_keys += ['HTTP_IF_RANGE', 'HTTP_RANGE']
         if remove_match:
-            check_keys.append('HTTP_IF_MATCH')
+            check_keys.append('HTTP_IF_NONE_MATCH')
         if remove_modified:
             check_keys.append('HTTP_IF_MODIFIED_SINCE')
         if remove_encoding: