Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Build a Simple Dynamic Site with Node.js!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
You can specify what type of content you serve by modifying a header called Content-Type.
Further Reading
- Internet Media Types Wikipedia Article
- The list of Media Types are no longer on Wikipedia, but can be found on IANA's website. IANA is a standards body that issues media types.
Node.js APIs Used
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Berian Lowe
22,438 Points1 Answer
-
PLUS
Vishrut Kaila
Courses Plus Student 4,871 Points1 Answer
-
Sorin Chircu, SC OSF GLOBAL SERVICES SRL Calea Plevnei nr.159, Sector 6, 060014, Bucuresti. VAT: RO12900448
14,547 PointsThere was an error getting the profile for chalkers. (Unauthorized)
1 Answer
-
<noob />
17,062 Points1 Answer
-
Jeremy Noonan
889 Points1 Answer
-
Elena Man
21,092 Points2 Answers
-
Marcos Cabrini Riani dos Reis
12,253 Points1 Answer
-
Carlos Lantigua
5,938 Points1 Answer
-
Amelia Groen
6,144 Points0 Answers
-
Amber Diehl
15,402 PointsError "write after end" being thrown when calling the /username route.
Posted by Amber DiehlAmber Diehl
15,402 Points1 Answer
-
Leo Marco Corpuz
18,975 Points0 Answers
-
PLUS
Przemyslaw Mazur
Courses Plus Student 9,296 Points3 Answers
-
Stephen Limmex
32,695 Points3 Answers
-
James Barrett
13,253 Points3 Answers
-
Leon Segal
14,754 Points2 Answers
-
Derek Derek
8,744 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up