ilvar/jasta

Server: minify result and set rules :)

kolobus opened this issue · 1 comments

  • Minify JSON response (ok, just a 10-20 bytes, but still). Like this:

{r:1,s:"Away",m:"Im away now"}

That's (r)esult boolean, (s)status and status (m)essage. And we don't need JID in reply, it's useless.

  • We need kinda final agreement for the format of this JSON, think all possible needed changes now, so we won't change it in future and break someones code :)

http://146.185.150.151/arcady.chumachenko@gmail.com.json

it's minimal size i can have without much messing