-
Notifications
You must be signed in to change notification settings - Fork 297
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
Discarding entity body for GET requests #210
Comments
Mmh, never saw such a message. It may be part of what your server is responding with. Anyway, could you post your code snippet? Maybe I can spot something. |
I'm getting this message in angular ssr project. Any solve? |
@yunus-alkan I am still looking for a code snippet that can reproduce this message. Could you provide one? |
@analog-nico It uses express js server. When opening static pages in browser, webpage is trying to get static files such as favicon, some images etc. At that point, we get "Discarding entity body for GET requests". It doesn't cause the crash, but there must be wrong right? |
same problem +1 |
+1 |
@analog-nico any updates? |
@analog-nico any update on this issue? |
Any idea? I also have this issue, and it blocks the server side rendering process. |
For the record, the message comes from the xhr2 lib and it's a warning. (You can check the source code or in your node_modules directory @yunus-alkan angular depends on it and this warning doesn't prevent the SSR to work. There should be something else in your code preventing it to work. |
anybody came up with any solution? |
When requesting a GET, I passed As a result, the message "Discarding entity body for GET requests" was printed. If you do JSON.stringify(null), you will get'null' as a result. |
+1 |
When making api Get request with request-promise.
This message outputs to the console: Discarding entity body for GET requests
What is it and how can I get rid of it
The text was updated successfully, but these errors were encountered: