Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does your plugin remap application/json? #239

Open
EgbertW opened this issue Jun 5, 2014 · 0 comments
Open

Why does your plugin remap application/json? #239

EgbertW opened this issue Jun 5, 2014 · 0 comments

Comments

@EgbertW
Copy link

EgbertW commented Jun 5, 2014

I received a bug report for my plugin redmine_planning, EgbertW/redmine_planning#16 which seems to be caused by your plugin. The following line in particular:

Mime::Type.register "application/json", :json_impasse

It seems to remap the JSON request type to a new request type, JSON_IMPASSE, which apparently poses additional constraints. My plugin outputs data using format.json, but this is broken by the line mentioned above.

Can you explain to me why you are remapping the already registered application/json? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant