Header keys are always in lowercase in python2 but not in python3.
(list)
| 54 | |
| 55 | |
| 56 | def convertHeaderTupleListToDict(list): |
| 57 | """ |
| 58 | Header keys are always in lowercase in python2 but not in python3. |
| 59 | """ |
| 60 | retval = {} |
| 61 | for tuple in list: |
| 62 | retval[tuple[0].lower()] = tuple[1] |
| 63 | return retval |
| 64 | __all__.append("convertHeaderTupleListToDict") |
| 65 | |
| 66 | _rnd_chars = string_mod.ascii_letters + string_mod.digits |
no outgoing calls
no test coverage detected
searching dependent graphs…