Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools HTTP Basics Introduction to HTTP HTTP Response Format

Raymond Smith
Raymond Smith
11,911 Points

HTTP Basics Fill in the blank below:

The response/status code of the sample HTTP response below is________. .

HTTP/1.1 304 Not Modified Server: nginx/1.9.4 Date: Thu, 17 Mar 2016 23:25:42 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12150

2 Answers

Tobias Helmrich
Tobias Helmrich
31,602 Points

Hey there,

the status code comes right after the protocol (HTTP) and its version number (1.1). In this case it's 304 .

I hope that helps! :)

Raymond Smith
Raymond Smith
11,911 Points

Thanks Tobias!! I thought it was 301, now I get it.

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

He said nothing about 304, how did we ment to know it was 304? I don't remember seeing him talking about 304.

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,058 Points

Answer is 304 cause it comes from the result