You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the following express server example: app.get('/', (req, res) => needle.request('get', 'www.google.com').pipe(res));
The response does not contain the appropriate headers. For example, content-type is missing and the response is treated as text, not as HTML.
Any ideas how I can fix this?
The text was updated successfully, but these errors were encountered:
Hi,
Having the following express server example:
app.get('/', (req, res) => needle.request('get', 'www.google.com').pipe(res));
The response does not contain the appropriate headers. For example, content-type is missing and the response is treated as text, not as HTML.
Any ideas how I can fix this?
The text was updated successfully, but these errors were encountered: