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

Add application/json in headers #752

Open
MediaCenterRUV opened this issue Nov 24, 2021 · 0 comments
Open

Add application/json in headers #752

MediaCenterRUV opened this issue Nov 24, 2021 · 0 comments

Comments

@MediaCenterRUV
Copy link

Issue and Steps to Reproduce

Background: I'm trying a SCADA system called Cerebrum to poll data from nsclient via REST but Cerebrum is a bit stupid as if the headers don't include "application/json" I am unable to apply logic to the results in Cerebrum. I've of course mentioned that to the makers of Cerebrum but I'm not expecting an update anytime soon from them.

That's why I'm asking if it is possible to make NSClient deliver the correct mime type in the json reply headers?

Thank you.

Johannes Reykdal

PLEASE PROVIDE COMMAND HERE
any checks using the REST api

Expected Behavior

headers should include the correct application mime-type

Actual Behavior

They dont include the application mime-type

Details

nsclient 5.2.35

Additional Details

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