[web2py] Re: web2py as Grafana endpoint

2016-12-13 Thread Dave S
On Monday, December 5, 2016 at 11:15:20 AM UTC-8, Dave S wrote: > > On Friday, December 2, 2016 at 5:53:46 PM UTC-8, Dave S wrote: >> >> >> >> On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: >>> >>> >>> >>> On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote:

[web2py] Re: web2py as Grafana endpoint

2016-12-05 Thread Dave S
On Friday, December 2, 2016 at 5:53:46 PM UTC-8, Dave S wrote: > > > > On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: >> >> >> >> On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: >>> >>> >>> >>> On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote:

[web2py] Re: web2py as Grafana endpoint

2016-12-02 Thread Dave S
On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: > > > > On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: >> >> >> >> On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: >>> >>> On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro >>>

[web2py] Re: web2py as Grafana endpoint

2016-12-02 Thread Dave S
On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: > > > > On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: >> >> On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: >>> >>> response from web2py controller? web2py returns bytes. It is up to

[web2py] Re: web2py as Grafana endpoint

2016-12-01 Thread Dave S
On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: > > On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: >> >> response from web2py controller? web2py returns bytes. It is up to you to >> put utf8 or ascii in there. web2y does not care. >> >> >> > Okay, I

[web2py] Re: web2py as Grafana endpoint

2016-11-28 Thread Dave S
On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: > > response from web2py controller? web2py returns bytes. It is up to you to > put utf8 or ascii in there. web2y does not care. > > > Okay, I overrode the Content-Type header to remove the "charset: utf-8", and I set

[web2py] Re: web2py as Grafana endpoint

2016-11-28 Thread Massimo Di Pierro
response from web2py controller? web2py returns bytes. It is up to you to put utf8 or ascii in there. web2y does not care. On Monday, 28 November 2016 01:08:20 UTC-6, Dave S wrote: > > Any suggestions on how to force the response to ASCII instead of UFT-8? > > /dps > > > On Tuesday, November

[web2py] Re: web2py as Grafana endpoint

2016-11-27 Thread Dave S
Any suggestions on how to force the response to ASCII instead of UFT-8? /dps On Tuesday, November 22, 2016 at 11:36:27 PM UTC-8, Dave S wrote: > > > > On Thursday, November 17, 2016 at 11:09:27 PM UTC-8, Dave S wrote: >> >> >> >> On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod

[web2py] Re: web2py as Grafana endpoint

2016-11-22 Thread Dave S
On Thursday, November 17, 2016 at 11:09:27 PM UTC-8, Dave S wrote: > > > > On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod wrote: >> >> if the request comes in either as a POST or as a PUT it has a body (since >> all examples report a faily nested query structure, I'd say it's the

[web2py] Re: web2py as Grafana endpoint

2016-11-17 Thread Dave S
On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod wrote: > > if the request comes in either as a POST or as a PUT it has a body (since > all examples report a faily nested query structure, I'd say it's the case > vs a simple querystring in a GET) > > If the body carries the correct

[web2py] Re: web2py as Grafana endpoint

2016-11-17 Thread Niphlod
if the request comes in either as a POST or as a PUT it has a body (since all examples report a faily nested query structure, I'd say it's the case vs a simple querystring in a GET) If the body carries the correct content-encoding, it's automatically parsed into request.vars. You can still