Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
This commit is contained in:
parent
e5ee279614
commit
6d66ab8be0
1 changed files with 90 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class Server(Generic[LifespanResultT]):
|
|||
|
||||
return types.BlobResourceContents(
|
||||
uri=req.params.uri,
|
||||
blob=base64.urlsafe_b64encode(data).decode(),
|
||||
blob=base64.b64encode(data).decode(),
|
||||
mimeType=mime_type or "application/octet-stream",
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue