(headDict, paylDict, newContents="")
| 1190 | return newVal |
| 1191 | |
| 1192 | def genContents(headDict, paylDict, newContents=""): |
| 1193 | if paylDict == {}: |
| 1194 | newContents = base64.urlsafe_b64encode(json.dumps(headDict,separators=(",",":")).encode()).decode('UTF-8').strip("=")+"." |
| 1195 | else: |
| 1196 | newContents = base64.urlsafe_b64encode(json.dumps(headDict,separators=(",",":")).encode()).decode('UTF-8').strip("=")+"."+base64.urlsafe_b64encode(json.dumps(paylDict,separators=(",",":")).encode()).decode('UTF-8').strip("=") |
| 1197 | return newContents.encode().decode('UTF-8') |
| 1198 | |
| 1199 | def dissectPayl(paylDict, count=False): |
| 1200 | timeseen = 0 |
no outgoing calls
no test coverage detected