(data)
| 93 | |
| 94 | @staticmethod |
| 95 | def encode_form_data(data): |
| 96 | output = "" |
| 97 | for i, key in enumerate(data.keys(), start=0): |
| 98 | value = data[key] |
| 99 | entry = f"{RequestUtil.urlencode(key)}={RequestUtil.urlencode(value)}" |
| 100 | |
| 101 | output += f"&{entry}" if i != 0 else entry |
| 102 | return output |
| 103 | |
| 104 | @staticmethod |
| 105 | def encode_attachments(attachments): |
no test coverage detected