-
Notifications
You must be signed in to change notification settings - Fork 33
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
olsrd jsoninfo not sending http headers #676
Comments
@niccokunzmann This is an upstream issue, which also has been fixed with the jsoninfo plugin 1.1.
I don't know, but it is probably one of the reasons for creating a new version of the plugin
This affects all routers with plugin version 0.0
Since this has been fixed upstream, I don't see the need to focus any effort on it. The OLSR Status app for Luci seems to be able to read in the JSON data just fine. The code which works with plugin 0.0 is here https://github.com/openwrt/luci/tree/lede-17.01/applications/luci-app-olsr/luasrc/view/status-olsr The OLSR Status app has been updated to work with plugin 1.1 https://github.com/openwrt/luci/tree/master/applications/luci-app-olsr/luasrc/view/status-olsr If you write your planned map code in lua, it should be relatively easy to borrow from the existing code to scrape out the information you need. |
Thanks for replying. That gave me new ideas! To enable http headers for the JSON Plugin of OLSR,
Now, you should be able to enjoy HTTP headers!
Anleitung auf Deutsch: http://freifunkkarte.quelltext.eu/enable-headers.html |
When I access http://10.22.254.111:9090/version
then I would like to see the CORS headers - or at least any header.
Source code of olsrd jsoninfo plugin at 0.9.0.3.
However, there are NO headers present, not event Content-Length!
Even Firefox does not show any headers.
The text was updated successfully, but these errors were encountered: