Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,789 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,018 Points

Answer is 304 cause it comes from the result