Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mythbackend webserver server side scripting enhancements
- Add LOG_DEBUG level logging of all requests coming into the webserver - Don't trim whitespace and newlines from server side script files as they are processed. This was sometimes messing up formatting and obfuscating the output where we didn't need to be. - Add .qxml as a valid server side scripting extension. .qxml files are processed like .qsp & .qjs, but return a mime type text/xml - Add ability to pass arguments to server side scripts via the URL parameters http://BACKENDIP:PORT/samples/somescript.qsp?arg1=value1&arg2=value2 http://BACKENDIP:PORT/samples/otherscript.qsp?sort=title&limit=10&start=30 Arguments are accessed within the script via the 'ARGS' array: if (ARGS["sort"] == "title")
- Loading branch information
Showing
5 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters