Skip to content

Commit

Permalink
reflected new Node.js version 0.4.9, some minor code intendation fixe…
Browse files Browse the repository at this point in the history
…s, umlauts
  • Loading branch information
manuelkiessling committed Jul 6, 2011
1 parent 739b37c commit 1c3807c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ <h3>Status</h3>
</p>
<p>
The code samples in this book are tested to work with Node.js
version 0.4.8.
version 0.4.9.
</p>

<h3>Intended audience</h3>
Expand Down Expand Up @@ -934,7 +934,7 @@ <h3>Event-driven callbacks</h3>
</p>
<p>
You might want to take the time to read Felix
Geisendörfer's excellent post
Geisend&ouml;rfer's excellent post
<a href="http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb">Understanding node.js</a>
for some background explanation.
</p>
Expand Down Expand Up @@ -2258,11 +2258,11 @@ <h4>Handling POST requests</h4>
This basically looks like this:
</p>
<pre class="prettyprint lang-js">request.addListener("data", function(chunk) {
// called when a new chunk of data was received
// called when a new chunk of data was received
});

request.addListener("end", function() {
// called when all chunks of data have been received
// called when all chunks of data have been received
});
</pre>
<p>
Expand Down Expand Up @@ -2302,7 +2302,8 @@ <h4>Handling POST requests</h4>

request.addListener("data", function(postDataChunk) {
postData += postDataChunk;
console.log("Received POST data chunk '" + postDataChunk + "'.");
console.log("Received POST data chunk '"+
postDataChunk + "'.");
});

request.addListener("end", function() {
Expand Down Expand Up @@ -2463,7 +2464,7 @@ <h4>Handling file uploads</h4>
</p>
<p>
The external module we are going to use is
<em>node-formidable</em> by Felix Geisendörfer. It nicely
<em>node-formidable</em> by Felix Geisend&ouml;rfer. It nicely
abstracts away all the nasty details of parsing incoming file
data. At the end of the day, handling incoming files is "only"
about handling POST data - but the devil really <em>is</em> in
Expand Down

0 comments on commit 1c3807c

Please sign in to comment.