Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews TCP/IP Protocols Interviews:Application LayerFTPHypertext Transfer Protocol (HTTP)Internet Message Access Protocol (IMAP)Internet Protocol (IP) AddressMobile IPNetworking ProtocolsPOP / POP3Secured Socket Layer (SSL)SMTPSNMPSOAPSpanning Tree Protocol (STP)SS7TCP LayerTCP/IPUDPWAP
Copyright © 2018. All Rights Reserved
Hypertext Transfer Protocol (HTTP) Interview Question:
Explain request message in HTTP?
Submitted by: MurtazaAd
The request message consists of the following:
☛ Request line, such as GET /images/logo.png HTTP/1.1, which requests a resource called /images/logo.png from server
☛ Headers, such as Accept-Language: en
☛ An empty line
☛ An optional message body
The request line and headers must all end with <CR><LF> (that is, a carriage return followed by a line feed). The empty line must consist of only <CR><LF> and no other white-space. In the HTTP/1.1 protocol, all headers except Host are optional.
A request line containing only the path name is accepted by servers to maintain compatibility with HTTP clients before the HTTP/1.0 specification in RFC1945.
Submitted by: Murtaza
☛ Request line, such as GET /images/logo.png HTTP/1.1, which requests a resource called /images/logo.png from server
☛ Headers, such as Accept-Language: en
☛ An empty line
☛ An optional message body
The request line and headers must all end with <CR><LF> (that is, a carriage return followed by a line feed). The empty line must consist of only <CR><LF> and no other white-space. In the HTTP/1.1 protocol, all headers except Host are optional.
A request line containing only the path name is accepted by servers to maintain compatibility with HTTP clients before the HTTP/1.0 specification in RFC1945.
Submitted by: Murtaza
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

https://InterviewQuestionsAnswers.ORG.
