Author Topic: Could CGI output echo what it thinks is bad response?  (Read 2799 times)

quanglewangle

  • Calm
  • *
  • Posts: 8
    • ipendeen2
  • Station Details: fine offset wh1080
Could CGI output echo what it thinks is bad response?
« on: June 28, 2014, 06:58:26 PM »
Not a biggy - more of a "nice to have". I have got past this issue myself, but this IR may help the next person!

When using the CGI output, if the script fielding the output returns anything but OK the CGI output script complains that it has received an unexpected response. Fair enough. 

What would be helpful would be if it could echo back what the unexpected response actually was. 

This would help folks debug their "other end" scripts - the response will very likely contain line numbers and other helpful stuff.
 

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2964
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Could CGI output echo what it thinks is bad response?
« Reply #1 on: June 29, 2014, 10:43:49 AM »
I'll add it to the feature request list, thanks for the suggestion.