Changes between Initial Version and Version 1 of Ticket #17474, comment 12


Ignore:
Timestamp:
10/18/2012 11:54:59 PM (2 years ago)
Author:
ptone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17474, comment 12

    initial v1  
    1 I agree that this is only a 1.4 issue - however if modpython is in fact passing in a defined content-type of None, then what we actually need is: {{{self._req.headers_in.get('content-type') or ''}}} since the key exists in this case.
     1I agree that this is only a 1.4 issue - however if modpython is in fact passing in a defined content-type of None, then what we actually need is: {{{self._req.headers_in.get('content-type', '') or ''}}} since the key exists in this case.
Back to Top