When using Nitro proxy, it's not possible to download files from the server's response.
Open
Nobody has claimed this yet.
bug
needs reproduction
proxy
v2
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 899
- Avg merge
- 2d 24m
- Merged PRs (30d)
- 40
Description
Environment
"node": "^16.20.0"
"nuxt": "^3.6.5"
Reproduction
Describe the bug
nitro.config
backend code
I'm capturing the code for fetch when using Nitro and when not using Nitro.
When not in use, the size is measured as 2.
Additional context
No response
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by unpacking web.zip and reviewing the nitro.config, backend code, and fetch behavior shown in the report. Reproduce the Nitro proxy request and compare the response handling with the non-Nitro case; done means files can be downloaded from the proxied server response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, nuxt
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100