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
Eugenio161288 opened this issue Feb 19, 2019 · 1 comment
Closed

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

Eugenio161288 opened this issue Feb 19, 2019 · 1 comment
Labels

Comments

@Eugenio161288
Copy link

@Eugenio161288 Eugenio161288 commented Feb 19, 2019

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
@aweber1 aweber1 added the proxy label Mar 5, 2019
@sc-illiakovalenko

This comment has been minimized.

Copy link
Collaborator

@sc-illiakovalenko 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
3 participants
You can’t perform that action at this time.