[Nut-upsdev] Question for Dev's on NUT's upsstats.cgi

Ben Kamen bkamen at benjammin.net
Fri Feb 1 06:26:52 UTC 2013

Hey guys,

  New user to NUT and was playing with the upsstats.cgi.

On my website, I have everything going through a wrapper script that frames the pages.

So my web files are actually truncated since the wrapper installs all my headers for me.

When using the upsstats.cgi, it works fine embedding it into my pages and then editing the .html template EXCEPT, I can't get rid of:

Content-type: text/html
Pragma: no-cache

Which are output by the cgi binary.

Since everything else is pretty much controllable, I would think this would be too - but it's not.

Would it be a huge issue to make those items template controlled? (I'm asking the dev's since I would guess it would need to start there.)

I'm not sure if I'd call this a "bug" -- but let me know if I'm crazy.



Ben Kamen - O.D.T., S.P.
eMail: ben at benjammin.net                      http://www.benjammin.net
Fortune says:
Insults are effective only where emotion is present.
		-- Spock, "Who Mourns for Adonais?"  stardate 3468.1
-                                                              -
NOTICE: All legal disclaimers sent to benjammin.net/benkamen.net
or any of it's affiliated domains are rendered null and void on
receipt of communications and will be handled/considered as such.

More information about the Nut-upsdev mailing list