cloudflare / cloudflare/python-workers-examples

FastAPI Example: TypeError: response.body.arrayBuffer is not a function

Aberta
#6 6 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
309
Forks
69
Merge médio
3d 11h
PRs com merge (30d)
13

Descrição

I am getting this error on the fastapi example:

Starting local server...
[wrangler:inf] Ready on http://127.0.0.1:8787
Loading fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
X [ERROR] Error in makeHandler

X [ERROR] Uncaught (in promise) TypeError: response.body.arrayBuffer is not a function

at loadBundle (pyodide-internal:loadPackage:36:36)


I can't figure it out at all. Maybe import asgi does not work anymore?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.