Giter VIP home page Giter VIP logo

Comments (3)

uhurusurfa avatar uhurusurfa commented on July 26, 2024
  1. 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.
  2. 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.

faoggor avatar faoggor commented on July 26, 2024

Thanks for answers. I would like to look at the implementation of dynamic Content-Type.

It’s clear about "mimetype".

from openas2app.

uhurusurfa avatar uhurusurfa commented on July 26, 2024

The feature is in latest release 3.8.0 - let me know if that works for you.

from openas2app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.