JSONP serialization for TiddlyWeb
Project description
tiddlywebplugins.jsonp is a subclass of the JSON serializer which optionally allows the JSON output from TiddlyWeb to be packaged as JSONP (JSON with padding). This is a method for getting around cross domain constraints. You should only use this if you know what you are doing with regard to security issues.
To use, add ‘tiddlywebplugins.jsonp’ to system_plugins in tiddlywebconfig.py.
When requests are made for JSON if there is a jsonp_callback query parameter the value of that parameter will be prepended to the output, with the required ‘(’ and ‘)’.
Created by Chris Dent, <cdent@peermore.com>, for the Wiki-Data project: http://www.wiki-data.com/
Licensed as TiddlyWeb itself.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tiddlywebplugins.jsonp-0.5.tar.gz
.
File metadata
- Download URL: tiddlywebplugins.jsonp-0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4aadab5022d8ba17b0c67fc6156570eba42915205a6bcc4afc9b4d17c65a44 |
|
MD5 | 78e26623966fe4a7e66431384456fb33 |
|
BLAKE2b-256 | f0cdfbca1015701cd91d1fbed013f184740047a9e6a1fe6d55eab3bef58e762d |