[PATCH phosphor-rest-server] Add support for serving jsonp
Patrick Williams
patrick at stwcx.xyz
Sat Apr 2 03:26:47 AEDT 2016
On Tue, Mar 29, 2016 at 10:40:56AM -0500, OpenBMC Patches wrote:
> Jsonp adds a javascript wrapper to json responses. It allows client
> applications to work around cross domain restrictions imposed by some
> browsers. For more information on jsonp:
> https://en.wikipedia.org/wiki/JSONP
>
> To get a jsonp response, an application adds a callback url parameter
> with the desired name of the wrapper:
> https://192.168.252.1/list?callback=my_callback
>
> <!-- Reviewable:start -->
> ---
> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-rest-server/17)
> <!-- Reviewable:end -->
>
>
> https://github.com/openbmc/phosphor-rest-server/pull/17
>
> Brad Bishop (1):
> Add support for serving jsonp
>
> obmc-rest | 30 ++++++++++++++++++++++++++++--
> 1 file changed, 28 insertions(+), 2 deletions(-)
>
> --
> 2.7.1
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
Reviewed-by: Patrick Williams <patrick at stwcx.xyz>
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160401/2e58b597/attachment-0001.sig>
More information about the openbmc
mailing list