We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063a65f commit d8503d9Copy full SHA for d8503d9
code/solutions/20_1_content_negotiation_again.js
@@ -19,7 +19,6 @@ function readStreamAsString(stream, callback) {
19
path: "/author",
20
headers: {Accept: type}
21
}, function(response) {
22
- return console.log(response.read());
23
readStreamAsString(response, function(error, content) {
24
if (error) throw error;
25
console.log("Type " + type + ": " + content);
0 commit comments