We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff0ecb commit 160d285Copy full SHA for 160d285
didcomm_messaging/quickstart.py
@@ -187,6 +187,10 @@ async def send_http_message(
187
if "id" not in message or not message["id"]:
188
message["id"] = str(uuid.uuid4())
189
190
+ # Ensure that a typ is on the message
191
+ if "typ" not in message or not message["typ"]:
192
+ message["typ"] = "application/didcomm-plain+json"
193
+
194
# Encrypt/pack the message to our target
195
packy = await dmp.pack(
196
message=message,
0 commit comments