Commits

Carlos Daniel Ruvalcaba Valenzuela  committed 0b515e6

Changed etag response from tuple to list, this should solve issues with running under mod_wsgi

  • Participants
  • Parent commits 49125e7

Comments (0)

Files changed (1)

File tgext/coffeescript/middleware.py

         none_match = environment.get('HTTP_IF_NONE_MATCH')
 
         if none_match and etag_key == none_match:
-            start_response('304 Not Modified', (('ETag', etag_key),))
+            start_response('304 Not Modified', [('ETag', etag_key)])
             return ['']
 
         try: