Comments (1)
ctx.attachment('1.xlsx');
await send(ctx, path);
from send.
Related Issues (20)
- Allow option to specify external fs
- Tests failing HOT 3
- How to send two files? HOT 1
- The total size of the file could not be obtained when downloading the file HOT 2
- Why not also support deflate encoding? HOT 1
- it doesnt woking in node version > 10, becuase some API have different usage between module 'mz/fs' and module fs HOT 1
- mz/fs & await HOT 1
- When js file doesn't exist, chrome sometimes makes two requests
- Could we add 304 response statusCode to avoid resending the cached resource? HOT 2
- Add Vary header
- Support If-Modified-Since header HOT 1
- Support for ETag Headers HOT 1
- Set the first parameter of the setHeaders option to Koa Response HOT 2
- Test Failed & Coverage Code don't work !!
- missing LICENSE !
- Send with HTML file HOT 2
- Change send return type to promise HOT 3
- Can't set Content-Type header
- If a filename includes a dot, the extensions property does not work
- [fix] await send() never resolves if file is not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from send.