Comments (3)
- There is currently no way to set the Content-Type dynamically based on the filename extension - it would have to be an enhancement though should be relatively straightforward. I will look into adding that feature in the next week or so. It will allow you to define a set of mappings from filename extension to content type with a fallback to the global content type.
- Essentially yes, you are correct. The mimetype attribute is the last ditch fallback in case there is no no partnership attribute "content_type" or global "content_type" property (not documented but you can set a property "content_type" and it will apply globally if the partnership does not have a content_type set).The mimetype on the poller is not much use really because you can only configure 1 poller per partnership so I will probably deprecate the use of "mimetype" on the pollerConfig.
from openas2app.
Thanks for answers. I would like to look at the implementation of dynamic Content-Type.
Itβs clear about "mimetype".
from openas2app.
The feature is in latest release 3.8.0 - let me know if that works for you.
from openas2app.
Related Issues (20)
- What the node && vue version are required for WebUI HOT 5
- Windows Service Issue Resolved HOT 4
- API Error in code for GET /api/messages/view HOT 4
- New Partners not persisted HOT 4
- Cannot connect to AS2 from WebUI, error: EMPTY_RESPONSE HOT 6
- Files from pendingMdn gets deleted even in case of error HOT 1
- Error when trying to run the image. HOT 4
- Issue to save any data like Partners, configuration etc. HOT 6
- Whenever refreshing the page of OpenAs2 UI then it goes to logged out automatically HOT 1
- HowTo document corrections HOT 1
- 3.6.0 release on GitHub? HOT 5
- Unable to connect to PostgreSQL HOT 8
- AS2 Transus sending issues HOT 4
- v3.7.0 overwrites partnerships.xml on recreation of container HOT 7
- file type not valid error due to file.type being empty HOT 2
- WebUI Messages contains timestamps like 2023-28-11 11:54:07 HOT 1
- Self signed SSL certs in Docker HOT 1
- Error : OpenAS2Exception: Error occurred:: no cipher suites in common HOT 14
- WebUI network error 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 openas2app.