What's the error page that's being discussed? Can you outline a command
sequence that triggers it so I can investigate?

Thanks,

Paul


On Thu, Mar 20, 2014 at 6:35 PM, Roberto Spadim <robe...@spadim.com.br>wrote:

> nice :)
> the error page i don't remember what i done and how it work, must check
> with paul :/
>
>
> 2014-03-20 16:00 GMT-03:00 Michael Markstaller <m...@elabnet.de>:
>
> On 20.03.2014 18:11, Roberto Spadim wrote:
>> > 2014-03-20 13:45 GMT-03:00 Michael Markstaller <m...@elabnet.de
>> > <mailto:m...@elabnet.de>>:
>> >
>> >     > - Now first of all, I'd submit a patch to fix /json outputting
>> valid
>> >     > JSON-Data. This would change the current behavior i.e.: single
>> >     elements:
>> >     > { "value" : "11.5" }
>> >     > instead of
>> >     > "        11.5"
>> >
>> >     I'd opt for
>> >     [ "        11.5" ]
>> >     (unnamed array) for single values..
>> >     The change is really trivial, just add [] - any other opinions?
>> >
>> > "trivial"? well hehe a bit more than trivial, check code, i just leave
>> > "" because there was a lot of for while etc that create the page, but if
>> > you have time, it's nice to change :) maybe {"value":"11.5"} is ok, no
>> > problem here, i'm using /text only today because i have old versions of
>> > owfs running
>>
>> This one is really easy!
>> Just add the brackets.. I'll send a patch..
>>
>> >     > - Error-output: { } or {"error" : "..."} instead of null+partial
>> >     HTML..
>> >
>> > {"error":""} <- no
>> > i think just {} is ok, a empty object / empty array, i don't know if
>> > "null" work with json/jsonp
>> >
>> >
>> >
>> >     This isn't trivial, on the first request I get what I expect, on the
>> >     second++ a full HTML-answer?
>> >     This would be really important for a useful error-handling in
>> >     Ajax-clients..
>> >
>> > yes
>>
>> I have no idea, why, we end up in another source-path on the second
>> false request, crying for help from Paul..
>>
>>
>> >     > - Add a HTTP-Header (Access-Control-Allow-Origin: *) to enable
>> >     CORS for
>> >     > JSON.
>> >
>> > ok
>> >
>> >
>> >
>> >     Overall: this works really great! 100x faster/less resource-usage
>> than
>> >     anything else which might also be a big benefit for any
>> visualisation of
>> >     owfs-data..
>> >     There is only one drawback: no IE below v10!
>> >
>> > no problem, ie isn't a standard web browser, and i think it will never
>> > be, i think it only work with some internet banking websites
>> We agree on this point ;)
>>
>> I'm fed up to implement the #40. workaround for IE and even native
>> IE-Users give me support on this ;)
>>
>> Michael
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
>
>
> --
> Roberto Spadim
> SPAEmpresarial
> Eng. Automação e Controle
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to