]> git.sesse.net Git - vlc/commit
Add json capabilities to http requests
authorRob Jonson <rob@hobbyistsoftware.com>
Thu, 7 Jul 2011 12:02:42 +0000 (13:02 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Jul 2011 00:52:34 +0000 (02:52 +0200)
commit18381e4a3b85cb7d100ad1b45786d4d46b65d2af
treeee30f47c3115d7cc1d1b984021aa3b17d3a95539
parentfba893a1a379627546a2adccc75d77e409c694dc
Add json capabilities to http requests

- refactor logic and model from status.xml and playlist.xml to prepare those to work as simple views driven by the model. This will allow the .json files to exist as models as well - so .json is also added as a mimetype
- refactor status.xml to use data from shared model in luahttp.lua
- added status.json - mimics functionality of status.xml
NEWS
share/Makefile.am
share/lua/http/requests/README.txt
share/lua/http/requests/status.json [new file with mode: 0644]
share/lua/http/requests/status.xml
share/lua/intf/http.lua
share/lua/intf/modules/httprequests.lua [new file with mode: 0644]