[web2py] Re: gluon.globals.Request parsing behavior for array with length 1

2016-07-27 Thread Massimo Di Pierro
You need to set the content-type = 'application/json' when you POST json content. Else web2py does not know it is json and inteprets is incorrectly as a multipart form. On Wednesday, 27 July 2016 05:01:57 UTC-5, Yebach wrote: > > Did you menage to solve this. I am facing the same issue here and

[web2py] Re: gluon.globals.Request parsing behavior for array with length 1

2016-07-27 Thread Yebach
Did you menage to solve this. I am facing the same issue here and it is killing me. On Thursday, July 9, 2015 at 2:46:52 PM UTC+2, kk wrote: > > In gluon.globals, I found a behavior that I don't understand, and that > gives me an headache. > > class Request(Storage): > ... > def parse_post_vars