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

Node Proxy: CURL URL -IL returns 500 OK #160

Closed
coffee-lover16 opened this issue Feb 19, 2019 · 1 comment
Closed

Node Proxy: CURL URL -IL returns 500 OK #160

coffee-lover16 opened this issue Feb 19, 2019 · 1 comment

Comments

@coffee-lover16
Copy link

Description

Headless mode, using node jss proxy. Doing requests to the application via browser it returns response with 200 code(as expected).
Doing that request via curl with -IL, it returns 500 OK

curl URL -IL

Expected behavior

The code should be 200 if coming message is OK, not 500

Steps To Reproduce

  1. Use the headless SSR via sitecore-jss-proxy
  2. Try to make the following request via curl:
    curl URL -IL

Your Environment

  • Sitecore Version: 9.0.2
  • JSS Version: 11.0.2
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): client: WIn10, Node proxy: Win 10, CentOS 7, Sitecore host: Win 10, Windows 2016
@sc-illiakovalenko
Copy link
Contributor

sc-illiakovalenko commented Oct 16, 2019

Fixed in #273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants