Comments (1)
A motivated person could add code to check if the request url ends with something that looks like a filename, and set that in a content-disposition: filename=
header response.
I created a throwaway test branch in my Go reimplementation of camo, and it seemed to work ok (very minimal testing). link
Something similar could be done for camo itself. Most likely you would need to fork camo and make the change yourself though, as from what I understand (based on issues filed in this repo) camo itself is mostly feature frozen at this point.
Edit: Do note that there are some subtleties surrounding encoding the filename. My linked code example is purposefully naïve just for testing.
from camo.
Related Issues (20)
- Non-Image content-type returned for animated gif HOT 7
- HTTP_PROXY not being used HOT 3
- Is there a way to detect 404? HOT 2
- Error Fetching Resource HOT 1
- Is it possible to put an Apache server in front? HOT 2
- Upgrade Node.js dependency
- Is there any way to tell if the visitor is mobile? HOT 1
- [Question] Does it include X-Forward headers?
- Gu
- iFramely + Camo + CORS HOT 1
- Simple Question HOT 1
- Does anyone else use this that could verify it? I don't run camo at my job anymore. HOT 3
- @manikmi You have at least a couple options.
- Wrong file
- Deleted messages
- Hidden apps
- anh
- README
- Support international domain names (IDN)
- Mov/mp4 support
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 camo.