Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respond with JSONP #2752

Closed
bajtos opened this issue Apr 15, 2019 · 3 comments
Closed

Respond with JSONP #2752

bajtos opened this issue Apr 15, 2019 · 3 comments
Labels
feature parity feature REST Issues related to @loopback/rest package and REST transport in general stale

Comments

@bajtos
Copy link
Member

bajtos commented Apr 15, 2019

Implement support for JSONP:

When the requested Accepts headers contain application/javascript or text/javascript, we should return JSONP response instead of JSON.

See the implementation in strong-remoting (LB 3.x) here: https://github.com/strongloop/strong-remoting/blob/33fbd72fb46035f707c3c62dce6b36ab075fb61e/lib/http-context.js#L480-L483

THIS STORY DEPENDS ON #436

@bajtos bajtos added feature REST Issues related to @loopback/rest package and REST transport in general feature parity labels Apr 15, 2019
@stale
Copy link

stale bot commented Apr 9, 2020

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Apr 9, 2020
@achrinza achrinza removed the stale label Apr 9, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Dec 25, 2020
@stale
Copy link

stale bot commented Jul 14, 2021

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature parity feature REST Issues related to @loopback/rest package and REST transport in general stale
Projects
None yet
Development

No branches or pull requests

2 participants