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

The response has no "Link" HTTP header #10

Closed
karser opened this issue Jun 13, 2017 · 2 comments
Closed

The response has no "Link" HTTP header #10

karser opened this issue Jun 13, 2017 · 2 comments

Comments

@karser
Copy link

karser commented Jun 13, 2017

I'm using api-platform 2.1beta1 and I have completed all admin instruction steps.
I'm getting an error:

parseHydraDocumentation.js:71 Uncaught (in promise) Error: The response has no "Link" HTTP header.
    at getDocumentationUrlFromHeaders (parseHydraDocumentation.js:71)
    at parseHydraDocumentation.js:95
    at <anonymous>

because getDocumentationUrlFromHeaders needs Link header, but at this line headers are empty
image

Although it's not true, see the response headers:
image
and response body, for the reference:
image

@Gounlaf
Copy link

Gounlaf commented Aug 5, 2017

Hi @karser,

Take a look at this issue: api-platform/admin#9

@mysiar
Copy link
Member

mysiar commented Sep 29, 2017

for nelmio cors :

            expose_headers: ["Link"]

@mysiar mysiar closed this as completed Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants