tag:blogger.com,1999:blog-53355859270935841742024-03-21T21:41:24.681-07:00B R A I N S T O R M<b>Every blade of grass has its angel that bends over it and whispers, "Grow, grow."</b>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-5335585927093584174.post-75514131770537870772016-11-17T22:44:00.001-08:002016-11-17T22:45:56.032-08:00HTTP Protocol<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-size: 48.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;"> </span><span style="font-size: 48pt;">HTTP
Protocol</span></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
</div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 2; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 18pt;">Introduction<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="font-size: 13.5pt;">Before we dive into understanding about
HTTP, let’s try to understand meaning of the word “Protocol”.<o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="font-size: 13.5pt;">A Protocol is a set of rules that we use
for specific purposes. In the current scenario, when we are talking about<span class="apple-converted-space"> </span><i>protocols,<span class="apple-converted-space"> </span></i>it is about communication- the way
we talk to each other. For instance, we speak in English and because you
understand English, you can understand. Here English is the protocol. The
moment we start speaking in a language that you don’t understand; the protocol
beats its purpose. Thus, we need both the parties to agree to a set of rules
for the communication to take place.</span><span style="color: #6d6d6d; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<b><span style="font-size: 13.5pt;">Now, talking about the web, multiple protocols
are used to communicate. </span></b><span style="font-size: 13.5pt;">Primarily
for end users the most important and visible protocols are HTTP and HTTPS.
Though there are many other protocols as well, but HTTP and HTTPS
protocols cater to most of the population.<o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 14.2pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<br /></div>
<div class="MsoListParagraph" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 2; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 18pt;">Now, what does HTTP
mean?</span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<br /></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="font-size: 13.5pt;">HTTP is hypertext transfer protocol. As we
all know, computers work in a language of 1’s and 0’s i.e. Binary language. </span><span style="color: #6d6d6d; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="font-size: 13.5pt;">Let’s say I want to write ‘a’. Now, if 0
stands for ‘a’, 1 stands for ‘b’, and 01 stands for ‘c’, I can infer that a
combination of 0’s and 1’s can construct a word as well. In this case, the text
is already constructed and is being sent on the wire. Here, what is being
transferred is text (in form of bytes). I am emphasising on ‘text’ because this
text is interpreted by the browser and the moment browser interprets it, it
becomes hypertext, and the protocol that transfers the text is referred to as <i>hypertext
transfer protocol – HTTP.<o:p></o:p></i></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="color: #6d6d6d; font-family: "lato" , serif; font-size: 9.5pt;">NOTE: </span><span style="font-family: "calibri" , sans-serif; font-size: 9pt;">Hyper is
also a prefix, from the Greek<span class="apple-converted-space"> </span><i>hyper-</i><span class="apple-converted-space">,</span> meaning over, above, or excessive, used in
such terms as<span class="apple-converted-space"> hypertext </span>(text
that extends to point to or include other text).</span><span style="color: #6d6d6d; font-family: "lato" , serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 2; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">3.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">HTTP Overview<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><br />
</span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Basically, HTTP is a TCP/IP based communication
protocol, that is used to deliver data (HTML files, image files, query results,
etc.) on the World Wide Web. This is an Application Layer protocol. The default
port is TCP 80, but other ports can be used as well. It provides a standardized
way for computers to communicate with each other. HTTP specification specifies
how clients' request data will be constructed and sent to the server, and how
the servers respond to these requests.</span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><o:p></o:p></span></div>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121214; font-size: 16.0pt; font-weight: normal; letter-spacing: -0.75pt;"> </span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt; text-indent: 18.0pt;">
<span style="color: #121214; font-size: 16.0pt; font-weight: normal; letter-spacing: -0.75pt;">Basic
Features <o:p></o:p></span></h2>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">There are three basic features that make HTTP a
simple but powerful protocol:<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 38.4pt; margin-right: 2.4pt; margin-top: 0cm; mso-list: l9 level1 lfo2; tab-stops: list 36.0pt; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;">HTTP is
connectionless*:</span></b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;"> The HTTP client, i.e., a browser
initiates an HTTP request and after a request is made, the client disconnects
from the server and waits for a response. <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 38.4pt; margin-right: 2.4pt; margin-top: 0cm; mso-list: l9 level1 lfo2; tab-stops: list 36.0pt; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;">HTTP is media
independent:</span></b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;"> It means, any type of data can be
sent by HTTP if both the client and the server know how to handle the data
content. It is required for the client as well as the server to specify the
content type using appropriate MIME-type.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 38.4pt; margin-right: 2.4pt; margin-top: 0cm; mso-list: l9 level1 lfo2; tab-stops: list 36.0pt; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;">HTTP is stateless:</span></b><span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;"> As mentioned above, HTTP is connectionless
and it is a direct result of HTTP being a stateless protocol. The server and
client are aware of each other only during a current request. Afterwards, both
forget about each other. Due to this nature of the protocol, neither the client
nor the browser can retain information between different requests across the
web pages.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: rgb(249 , 249 , 249); font-family: "verdana" , sans-serif; font-size: 10.5pt; line-height: 107%;">* </span>HTTP/1.0 uses a
new connection for each request/response exchange, where as <br />
HTTP/1.1<span style="background: rgb(249 , 249 , 249); font-family: "verdana" , sans-serif; font-size: 10.5pt; line-height: 107%;">
connection may be used for one or more request/response exchanges.<br />
<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121214; font-size: 16.0pt; font-weight: normal; letter-spacing: -0.75pt;">HTTP Version<o:p></o:p></span></h2>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 7.1pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">HTTP uses a<span class="apple-converted-space"> </span><b><major>.<minor></minor></major></b><span class="apple-converted-space"> </span>numbering scheme to indicate versions
of the protocol.</span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 7.1pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">Here is the general syntax of specifying HTTP
version number:<o:p></o:p></span></div>
<div style="background: #EEEEEE; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0cm;">
<span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;">HTTP</span><span style="color: #666600; font-family: "consolas"; font-size: 10.0pt;">-</span><span style="color: #7f0055; font-family: "consolas"; font-size: 10.0pt;">Version</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;"> </span><span style="color: #666600; font-family: "consolas"; font-size: 10.0pt;">=</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;"> </span><span style="color: #008800; font-family: "consolas"; font-size: 10.0pt;">"HTTP"</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;"> </span><span style="color: #008800; font-family: "consolas"; font-size: 10.0pt;">"/"</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;"> </span><span style="color: #006666; font-family: "consolas"; font-size: 10.0pt;">1</span><span style="color: #666600; font-family: "consolas"; font-size: 10.0pt;">*</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;">DIGIT </span><span style="color: #008800; font-family: "consolas"; font-size: 10.0pt;">"."</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;"> </span><span style="color: #006666; font-family: "consolas"; font-size: 10.0pt;">1</span><span style="color: #666600; font-family: "consolas"; font-size: 10.0pt;">*</span><span style="color: #313131; font-family: "consolas"; font-size: 10.0pt;">DIGIT<o:p></o:p></span></div>
</div>
<h3 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121214; font-family: "times new roman" , serif; font-size: 16.0pt; letter-spacing: -0.75pt;"><br />
Example<o:p></o:p></span></h3>
<div style="background: #EEEEEE; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0cm;"><span class="pln"><span style="color: #313131; font-family: "consolas";">HTTP</span></span><span class="pun"><span style="color: #666600; font-family: "consolas"; mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">/</span></span><span class="lit"><span style="color: #006666; font-family: "consolas";">1.0 or</span></span><span class="kwd"><span style="color: #000088; font-family: "consolas";"> HTTP</span></span><span class="pun"><span style="color: #666600; font-family: "consolas"; mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">/</span></span><span class="lit"><span style="color: #006666; font-family: "consolas";">1.1</span></span><span style="color: #313131; font-family: "consolas";"><o:p></o:p></span></pre>
</div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 7.1pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 2; text-align: justify; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">4.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;">HTTPS<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"> </span><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16pt; letter-spacing: -0.75pt; text-indent: -21.6pt;">4.1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16pt; letter-spacing: -0.75pt; text-indent: -21.6pt;">Why we need
HTTPS?</span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 10.5pt;"> </span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">When you log into your site, your login credentials are easy
to intercept if not encrypted with HTTPS. The "password" field may
show only circles in your Web browser, but your actual password is
transmitted "in the clear" across the Internet for anyone to see. So,
sending data on internet over HTTP is like sending item from courier without
security. Criminals can access that traffic in several ways, including
monitoring WiFi connections, having an inside position at an Internet service
provider or backbone network, or by hacking into routers across the Internet so
they can watch the traffic that flows across them.</span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">So, new protocol introduced to handle valuable sensitive
data. This protocol is known as SSL (Secured Socket Layer).<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">HTTPS= HTTP + SSL (HTTP protocol working in tandem with SSL)<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">So, what is SSL? Before we understand SSL, first we need to
understand Cryptography.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 39.6pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l4 level2 lfo3; mso-outline-level: 2; text-align: justify; text-indent: -21.6pt;">
<!--[if !supportLists]--><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16.0pt; letter-spacing: -0.75pt;">4.2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16.0pt; letter-spacing: -0.75pt;">What is
Cryptography?<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">It is basically a science of hiding information. It’s a
method of storing and transmitting data in a form so that only those for whom
it is intended can read and process it. <o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_s2054" type="#_x0000_t75"
style='position:absolute;left:0;text-align:left;margin-left:69.75pt;
margin-top:.75pt;width:322.5pt;height:142.5pt;z-index:-251658240;visibility:visible;
mso-wrap-style:square;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
mso-position-vertical:absolute;mso-position-vertical-relative:text'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png"
o:title=""/>
<w:wrap type="tight"/>
</v:shape><![endif]--><!--[if !vml]--><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoOyauKOwB4PHPEqIUkvlxOkwZsXoxIxtNjOhIRU7i9XF2vAZuzvwjX1R867P0DSWDILtnQNErNcgELd-7wW9nJNrR9yP6I1pyYX4XMmIaHt5mosaj-phd336anmSJh3HNmFWezn4cDMHw/s1600/fig4.2.png" imageanchor="1"><img border="0" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoOyauKOwB4PHPEqIUkvlxOkwZsXoxIxtNjOhIRU7i9XF2vAZuzvwjX1R867P0DSWDILtnQNErNcgELd-7wW9nJNrR9yP6I1pyYX4XMmIaHt5mosaj-phd336anmSJh3HNmFWezn4cDMHw/s320/fig4.2.png" width="320" /></a><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p> </o:p></span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"> </span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"> </span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;"> Fig
4.2<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">In fig 4.2, we have a text “Hello World” that is being
encrypted by algorithm and the output text after the encryption is called cipher/encrypted
text as sown in above diagram.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<h1 style="background: white; margin-bottom: 4.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 9.0pt;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt; line-height: 107%;">Sometimes
encryption needs a key to encrypt data. Data encrypted via key can be send to
respective consumer who can decrypt to its normal form via same kay, here it is
called semantic key that is used for both encryption and decryptions. <o:p></o:p></span></h1>
<h1 style="background: white; margin-bottom: 4.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 9.0pt;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt; line-height: 107%;">So, one key
can be shared among all the users but this is situation like all the houses
have lock and each have key and any one can open any’s lock. So, cryptography
come to rescue again. In cryptography, there is a way to encrypt with one key
and decrypt with another key. </span><span style="font-family: "times new roman" , serif; font-size: 13.5pt; line-height: 107%;"><o:p></o:p></span></h1>
<div class="MsoListParagraphCxSpFirst" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<!--[if gte vml 1]><v:shape
id="_x0000_i1029" type="#_x0000_t75" alt="Image result for encryption decryption"
style='width:332.25pt;height:93.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png"
o:title="Image result for encryption decryption"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt;"> </span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18pt;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFbYRMm9VdoHDWPDzoJ9j9Mxh__cZJMX3XwXAOsetsVDfSusWG8KlJmPCCRmaIrUW1ZPjuu3rOGjhNkFiYuXbi-uHtNpGeQN1HH-zlh_5aAegQELOH6dnzZF1zc-_62nBliZjmq-Far_6i/s1600/enc.png" imageanchor="1"><img border="0" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFbYRMm9VdoHDWPDzoJ9j9Mxh__cZJMX3XwXAOsetsVDfSusWG8KlJmPCCRmaIrUW1ZPjuu3rOGjhNkFiYuXbi-uHtNpGeQN1HH-zlh_5aAegQELOH6dnzZF1zc-_62nBliZjmq-Far_6i/s320/enc.png" width="320" /></a></span></div>
<div class="MsoListParagraphCxSpLast" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 39.6pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l4 level2 lfo3; mso-outline-level: 2; text-align: justify; text-indent: -21.6pt;">
<!--[if !supportLists]--><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16.0pt; letter-spacing: -0.75pt;">4.3.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121214; font-family: "times new roman" , serif; font-size: 16.0pt; letter-spacing: -0.75pt;">Communication
between browser and server<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Coming back around SSL Protocol, so following steps
happens when a data is send to serve.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">When we type URL with HTTPS then bowser connect over TCP port <br />
443 (default port for HTTPS) over transport layer.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">After the connection is successful the next, SSL handshake starts.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">3.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Server response with “<b>server
HELLO message</b>”.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">4.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Server send digital certificate signed by signing authority (Verisign etc.)<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">5.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Then server sends “<b>server HELLO done</b>”
message hinting browser to start processing at its end.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">6.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Browser response to the server by sending “<b>Certificate verify</b>” message. Its means server is verified.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">7.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Then client sends “<b>Changed cipher
specification</b>”. It means the data send over HTTPS by browser will be
encrypted.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">8.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">After that browser sends the “<b>Finish
Message</b>” which have digest message that contains all the communication held
till now.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">9.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Now server sends “<b>Change cipher
specification</b>” message.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-list: l10 level1 lfo4; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">10.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "times new roman" , serif; font-size: 13.5pt;">Again, server sends “<b>Finish
message</b>” which also contains all the information of the communication held
till now.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">The purpose of Finish message is, confirmation that all the previous
message not conferred / tempered. At this point SSL handshake is complete. The
client sends Semantic secret key to server for encryption and decryption.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;">So, after that actual message shared by browser to the server and this
way our data is secured via HTTPS over internet.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-add-space: auto; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p> </o:p></span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18pt; text-indent: -18pt;">5.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18pt; text-indent: -18pt;">Message Format</span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 18.0pt; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">HTTP requests and HTTP responses use a generic
message format of RFC 822 for transferring the required data. This generic
message format consists of the following four items.<o:p></o:p></span></div>
<ul type="disc">
<li class="MsoNormal" style="color: #313131; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-list: l2 level1 lfo5; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span style="color: black; font-family: "consolas"; font-size: 9.0pt;">A Start-line</span><span style="font-family: "consolas"; font-size: 9.0pt;"><o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: 18pt; margin-bottom: 3.75pt;"><span style="font-family: "consolas"; font-size: 9.0pt;">Zero or more header fields followed by CRLF<o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: 18pt; margin-bottom: 3.75pt;"><span style="font-family: "consolas"; font-size: 9.0pt;">An empty line (i.e., a line with nothing
preceding the CRLF) <o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: 18pt; margin-bottom: 3.75pt;"><span style="font-family: "consolas"; font-size: 9.0pt;">indicating the end of the header fields<o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: 18pt; margin-bottom: 3.75pt;"><span style="font-family: "consolas"; font-size: 9.0pt;">Optionally a message-body<o:p></o:p></span></li>
</ul>
<h2 style="margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt; mso-line-height-alt: 18.0pt;">
<span style="color: #121214; font-family: "verdana" , sans-serif; font-size: 20.5pt; font-weight: normal; letter-spacing: -0.75pt;"> </span></h2>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 18.0pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level1 lfo6; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 18.0pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level1 lfo6; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 18.0pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level1 lfo6; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">3.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 18.0pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level1 lfo6; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">4.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 18.0pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level1 lfo6; mso-outline-level: 2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">5.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<div class="MsoListParagraph" style="display: none; line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 39.6pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l1 level2 lfo6; mso-outline-level: 2; text-indent: -21.6pt;">
<!--[if !supportLists]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;">5.1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #121212; display: none; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p> </o:p></span></div>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l0 level2 lfo1; text-indent: -18.75pt;">
<!--[if !supportLists]--><span style="color: #121212; font-size: 14.0pt; font-weight: normal;">5.1<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121212; font-size: 14.0pt; font-weight: normal;"> Message Start-Line<o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt; font-weight: normal;"> </span></h2>
<div style="line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 36.0pt; margin-right: 2.4pt; margin-top: 0cm; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt;">A
start-line will have the following generic syntax</span><span style="font-family: "verdana" , sans-serif; font-size: 10pt;">:<o:p></o:p></span></div>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; margin-left: 36.0pt; margin-right: 0cm; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">start-line = Request-Line | Status-Line<o:p></o:p></span></pre>
</div>
<div style="line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 36.0pt; margin-right: 2.4pt; margin-top: 0cm; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt;">We will
discuss Request-Line and Status-Line while discussing HTTP Request and HTTP
Response messages respectively. For now, let's see the examples of start line
in case of request and response:<o:p></o:p></span></div>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; margin-left: 36.0pt; margin-right: 0cm; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">GET /hello.htm HTTP/1.1 (This is Request-Line sent by the client)<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;"> </span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">HTTP/1.1 200 OK (This is Status-Line sent by the server)<o:p></o:p></span></pre>
</div>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 36.0pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt; font-weight: normal;"> </span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt; mso-list: l0 level2 lfo1; text-indent: -18.75pt;">
<!--[if !supportLists]--><span style="color: #121212; font-size: 14.0pt; font-weight: normal;">5.2<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121212; font-size: 14.0pt; font-weight: normal;"> Header Fields<o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt; font-weight: normal;"><br />
HTTP header fields provide required information about the request or response,
or about the object sent in the message body.<o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt; font-weight: normal;"> <o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt; font-weight: normal;">Syntax
of the header field is as follow<o:p></o:p></span></h2>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; margin-left: 2.0cm; margin-right: 0cm; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">message-header = field-name ":" [ field-value]<o:p></o:p></span></pre>
</div>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt; font-weight: normal;"> </span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 47.15pt; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="font-family: "verdana" , sans-serif; font-size: 11pt; font-weight: normal;"> </span> </h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt; font-weight: normal;">HTTP Request message<o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt; font-weight: normal;"> <o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_19" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:451.5pt;
height:138pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><span style="color: #121212; font-size: 14.0pt;"><o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrdfSi4JrkIOpF-R_IhdEfgC2khpsS07Mnkyr12xxG-i4VJmF3GYdRRnR-2qSlNajaPgnmBgHnLs5PVhG7yJOHNlUxrbTBHdSR2G0OwAeH7bvDlk8AYv83tX7T3TlIBkeePiP1GwCTfOzN/s1600/req.png" imageanchor="1"><img border="0" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrdfSi4JrkIOpF-R_IhdEfgC2khpsS07Mnkyr12xxG-i4VJmF3GYdRRnR-2qSlNajaPgnmBgHnLs5PVhG7yJOHNlUxrbTBHdSR2G0OwAeH7bvDlk8AYv83tX7T3TlIBkeePiP1GwCTfOzN/s320/req.png" width="320" /></a></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 12.0pt; font-weight: normal;">The above image is
explaining all the components of the request. Following is separate example of
GET and POST.<o:p></o:p></span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 12.0pt; font-weight: normal;"> </span></h2>
<h2 style="line-height: 18.0pt; margin-bottom: 2.4pt; margin-left: 0cm; margin-right: 2.4pt; margin-top: 2.4pt;">
<span style="color: #121212; font-size: 14.0pt; font-weight: normal;">GET Request example<o:p></o:p></span></h2>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">GET /hello.htm HTTP/1.1<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Host: www.tutorialspoint.com<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Accept-Language: en-us<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Accept-Encoding: gzip, deflate<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Connection: Keep-Alive<o:p></o:p></span></pre>
</div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">Here we are not sending any request data to the
server because we are fetching a plain HTML page from the server. Connection is
a general-header, and the rest of the headers are request headers.<span class="apple-converted-space"> <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">The following example shows how to send form data
to the server using request message body:</span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 14.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="color: #121212; font-family: "times new roman" , serif; font-size: 14.0pt;">Post Request example<o:p></o:p></span></div>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">POST /cgi-bin/process.cgi HTTP/1.1<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Host: www.tutorialspoint.com<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Content-Type: application/x-www-form-urlencoded<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Content-Length: <b>length</b><o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Accept-Language: en-us<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Accept-Encoding: gzip, deflate<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Connection: Keep-Alive<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;"> </span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">licenseID=string&content=string&/paramsXML=string<o:p></o:p></span></pre>
</div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 15.0pt; mso-outline-level: 2; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">Here the given URL<span class="apple-converted-space"> </span><i>/cgi-bin/process.cgi</i><span class="apple-converted-space"> </span>will be used to process the passed
data and accordingly, a response will be returned. Here<span class="apple-converted-space"> </span><b>content-type</b><span class="apple-converted-space"> </span>tells the server that the passed data
is a simple web form data and<span class="apple-converted-space"> </span><b>length</b><span class="apple-converted-space"> </span>will be the actual length of the data
put in the message body.</span><span style="color: #121212; font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div style="background: white; line-height: 19.2pt; margin-bottom: 15.0pt; margin-left: 14.2pt; margin-right: 0cm; margin-top: 0cm; text-align: justify;">
<span style="font-family: "verdana" , sans-serif; font-size: 11.5pt;">After receiving and interpreting a request message, a server
responds with an HTTP response message:<o:p></o:p></span></div>
<div style="background: #F1F1F1; border: solid #D6D6D6 1.0pt; margin-left: 21.3pt; margin-right: 0cm; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;">
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">HTTP/1.1 200 OK<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Date: Mon, 27 Jul 2009 12:28:53 GMT<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Server: Apache/2.2.14 (Win32)<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Content-Length: 88<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Content-Type: text/html<o:p></o:p></span></pre>
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; padding: 0cm;"><span style="color: #313131; font-family: "consolas"; font-size: 9.0pt;">Connection: Closed<o:p></o:p></span></pre>
<pre style="background: #EEEEEE; border: none; line-height: 12.0pt; margin-bottom: 7.5pt; mso-border-alt: solid #D6D6D6 .75pt; mso-padding-alt: 4.0pt 4.0pt 4.0pt 4.0pt; padding: 0cm;"><span class="tag"><span style="color: #000088; font-family: "consolas";"><html></html></span></span><span class="pln"><span style="color: #313131; font-family: "consolas";"><o:p></o:p></span></span></pre>
<pre style="background: #EEEEEE; border: none; line-height: 12.0pt; margin-bottom: 7.5pt; mso-border-alt: solid #D6D6D6 .75pt; mso-padding-alt: 4.0pt 4.0pt 4.0pt 4.0pt; padding: 0cm;"><span class="tag"><span style="color: #000088; font-family: "consolas";"><body></body></span></span><span class="pln"><span style="color: #313131; font-family: "consolas";"><o:p></o:p></span></span></pre>
<pre style="background: #EEEEEE; border: none; line-height: 12.0pt; margin-bottom: 7.5pt; mso-border-alt: solid #D6D6D6 .75pt; mso-padding-alt: 4.0pt 4.0pt 4.0pt 4.0pt; padding: 0cm;"><span class="tag"><span style="color: #000088; font-family: "consolas";"><h1>
</h1>
</span></span><span class="pln"><span style="color: #313131; font-family: "consolas";">Hello, World!</span></span><span class="tag"><span style="color: #000088; font-family: "consolas";"></span></span></pre>
</div>
</div>
<span class="pln"><span style="color: #313131; font-family: "consolas";"><o:p></o:p></span></span><br />
<pre style="background: #EEEEEE; border: none; line-height: 12.0pt; margin-bottom: 7.5pt; mso-border-alt: solid #D6D6D6 .75pt; mso-padding-alt: 4.0pt 4.0pt 4.0pt 4.0pt; padding: 0cm;"><span class="tag"><span style="color: #000088; font-family: "consolas";"></span></span></pre>
<span class="pln"><span style="color: #313131; font-family: "consolas";"><o:p></o:p></span></span><br />
<pre style="background: #EEEEEE; border: none; line-height: 12.0pt; margin-bottom: 7.5pt; mso-border-alt: solid #D6D6D6 .75pt; mso-padding-alt: 4.0pt 4.0pt 4.0pt 4.0pt; padding: 0cm;"><span class="tag"><span style="color: #000088; font-family: "consolas";"></span></span></pre>
<span style="color: #313131; font-family: "consolas";"><o:p></o:p></span>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_4" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:451.5pt;
height:231pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<o:p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXDyxUg-R8mng5-D2LArCr5KF2h_1gONfUrnLHsyNIvmHyO58wdA12abyVH39Q-_u6UeIGdspfyH81fH8Tx4EUlnPfjR4gU6R0F5BtnCsp4N4n4d51gdoPc40ng35dlZa9Q5HF1XsaCtQa/s1600/resp.png" imageanchor="1"><img border="0" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXDyxUg-R8mng5-D2LArCr5KF2h_1gONfUrnLHsyNIvmHyO58wdA12abyVH39Q-_u6UeIGdspfyH81fH8Tx4EUlnPfjR4gU6R0F5BtnCsp4N4n4d51gdoPc40ng35dlZa9Q5HF1XsaCtQa/s320/resp.png" width="320" /></a> </o:p></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="background: #D9D9D9; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 651px;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Accept<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Content-Types those are acceptable for the response. See <a href="https://en.wikipedia.org/wiki/Content_negotiation" title="Content negotiation">Content negotiation</a>.<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Accept-Encoding<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
List of acceptable encodings. See <a href="https://en.wikipedia.org/wiki/HTTP_compression" title="HTTP compression">HTTP
compression</a>.<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Accept-Language<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
List of acceptable human languages for response. See <a href="https://en.wikipedia.org/wiki/Content_negotiation" title="Content negotiation">Content negotiation</a>.<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Content-Length<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
The length of the request body in <a href="https://en.wikipedia.org/wiki/Octet_%28computing%29" title="Octet (computing)">octets</a> (8-bit bytes).<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
Content-Type<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal">
The <a href="https://en.wikipedia.org/wiki/MIME_type" title="MIME type">MIME type</a> of the body of the request (used with POST
and PUT requests).<span style="font-size: 12.0pt; line-height: 107%;"><o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">The
following example shows an HTTP response message displaying error condition
when the web server could not find the requested page:<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">HTTP/1.1 404
Not Found<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Date: Sun,
18 Oct 2012 10:36:20 GMT<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Server:
Apache/2.2.14 (Win32)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Content-Length:
230<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Connection:
Closed<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Content-Type:
text/html; charset=iso-8859-1<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><html><o:p></o:p></html></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><head><o:p></o:p></head></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> <title>404 Not Found</title><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><body><o:p></o:p></body></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> </span><br />
<h1>
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">
Not Found</span></h1>
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> The requested URL /t.html was not
found on this server.<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Following is
an example of HTTP response message showing error condition when the web server
encountered a wrong HTTP version in the given HTTP request:<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">HTTP/1.1 400
Bad Request<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Date: Sun,
18 Oct 2012 10:36:20 GMT<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Server:
Apache/2.2.14 (Win32)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Content-Length:
230<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Content-Type:
text/html; charset=iso-8859-1<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">Connection:
Closed<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><html><o:p></o:p></html></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><head><o:p></o:p></head></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> <title>400 Bad Request</title><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"><body><o:p></o:p></body></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> </span><br />
<h1>
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">
Bad Request</span></h1>
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;">
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> Your browser sent a request that
this server could not understand.<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"> The request line contained invalid
characters following the protocol string.<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal" style="background: #D9D9D9; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-background-themecolor: background1; mso-background-themeshade: 217; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span lang="EN-US" style="font-family: "courier new"; font-size: 10.0pt;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="background: #D9D9D9; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">S.N.<o:p></o:p></span></b></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Code and Description<o:p></o:p></span></b></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">1<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">1xx: Informational</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the request was received and the process is continuing.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">2<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">2xx:
Success</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the action was successfully received, understood, and
accepted.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">3<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">3xx:
Redirection</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means further action must be taken in order to complete the request.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">4<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">4xx:
Client Error</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the request contains incorrect syntax or cannot be fulfilled.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">5<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">5xx:
Server Error</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the server failed to fulfill an apparently valid request.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">HTTP status
codes are extensible and HTTP applications are not required to understand the
meaning of all registered status codes. A list of all the status codes has been
given in a status code topic defined down the line of document<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<h1 style="margin-left: 18.0pt; mso-list: l1 level1 lfo6; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">6.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">HTTP – Methods<o:p></o:p></span></h1>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The set of common methods for HTTP/1.1 is defined below and
this set can be expanded based on requirements. These method names are case
sensitive and they must be used in uppercase.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">.<o:p></o:p></span></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="background: #D9D9D9; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">S.N.<o:p></o:p></span></b></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Method and Description<o:p></o:p></span></b></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">1<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">GET</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">The GET method is used to retrieve information from the given server
using a given URI. Requests using GET should only retrieve data and should
have no other effect on the data.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">2<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">POST</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">A POST request is used to send data to the server, for example,
customer information, file upload, etc. using HTML forms.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">3<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">PUT</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Replaces all current representations of the target resource with the
uploaded content.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">4<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">DELETE</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Removes all current representations of the target resource given by a
URI.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">5<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">OPTIONS</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Describes the communication options for the target resource.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<h2>
GET Method<o:p></o:p></h2>
A GET request retrieves data from a web server by specifying parameters in
the URL portion of the request. This is the main method used for document
retrieval. The following example makes use of GET method to fetch hello.htm:<o:p></o:p><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">GET /hello.htm HTTP/1.1<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Host: www.tutorialspoint.com<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Language: en-us<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Encoding: gzip, deflate<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Connection: Keep-Alive<o:p></o:p></pre>
The server response against the above GET request will be as follows:<o:p></o:p><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">HTTP/1.1 200 OK<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Date: Mon, 27 Jul 2009 12:28:53 GMT<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Server: Apache/2.2.14 (Win32)<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">ETag: "34aa387-d-1568eb00"<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Vary: Authorization,Accept<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Ranges: bytes<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Length: 88<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Type: text/html<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Connection: Closed<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><html></html></span><span class="pln"><o:p></o:p></span></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><body></body></span><span class="pln"><o:p></o:p></span></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><h1>
</h1>
</span><span class="pln">Hello, World!</span><span class="tag"></span></pre>
<span class="pln"><o:p></o:p></span><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"></span></pre>
<span class="pln"><o:p></o:p></span><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"></span></pre>
<o:p></o:p>
<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<h2>
POST Method<o:p></o:p></h2>
The POST method is used when you want to send some data to the server, for
example, file update, form data, etc. The following example makes use of POST
method to send a form data to the server, which will be processed by a
process.cgi and finally a response will be returned:<o:p></o:p><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">POST /cgi-bin/process.cgi HTTP/1.1<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Host: www.tutorialspoint.com<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Type: text/xml; charset=utf-8<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Length: 88<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Language: en-us<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Encoding: gzip, deflate<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Connection: Keep-Alive<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="pun"><span class="pln">xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"utf-8"</span><span class="pun">?></span><span class="pln"><o:p></o:p></span></span></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><string span=""><span class="pln"> </span><span class="atn">xmlns</span><span class="pun">=</span><span class="atv">"http://clearforest.com/"</span><span class="tag">></span><span class="pln">string</span><span class="tag"></span></string></span><o:p></o:p></pre>
<br />
<br />
The server side script process.cgi processes the passed data and sends the
following response:<o:p></o:p><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">HTTP/1.1 200 OK<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Date: Mon, 27 Jul 2009 12:28:53 GMT<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Server: Apache/2.2.14 (Win32)<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">ETag: "34aa387-d-1568eb00"<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Vary: Authorization,Accept<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Accept-Ranges: bytes<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Length: 88<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Content-Type: text/html<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">Connection: Closed<o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><html></html></span><span class="pln"><o:p></o:p></span></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><body></body></span><span class="pln"><o:p></o:p></span></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"><h1>
</h1>
</span><span class="pln">Request Processed Successfully</span><span class="tag"></span></pre>
<span class="pln"><o:p></o:p></span><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"></span></pre>
<span class="pln"><o:p></o:p></span><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="tag"></span></pre>
<o:p></o:p>
<br />
<div class="MsoNormal">
<br /></div>
<h1 style="margin-left: 18.0pt; mso-list: l1 level1 lfo6; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">7.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">HTTP - Status Codes<o:p></o:p></span></h1>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
As I described
above status code in brief, now we are going to see all the codes with its
description. Status code play role in response and the browser or user behaves
according to the status code received from the server.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="background: #D9D9D9; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">S.N.<o:p></o:p></span></b></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Code and Description<o:p></o:p></span></b></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">1<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">1xx:
Informational</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the request was received and the process is continuing.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">2<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">2xx:
Success</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the action was successfully received, understood, and
accepted.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">3<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">3xx:
Redirection</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means further action must be taken in order to complete the
request.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">4<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">4xx:
Client Error</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the request contains incorrect syntax or cannot be fulfilled.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">5<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">5xx:
Server Error</span></b><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It means the server failed to fulfill an apparently valid request.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">1XX
Information:<o:p></o:p></span></b></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-yfti-tbllook: 1536; width: 679px;">
<tbody>
<tr style="height: 15.8pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #D9D9D9; border: solid black 1.0pt; height: 15.8pt; mso-background-themecolor: background1; mso-background-themeshade: 217; padding: 6.0pt 6.0pt 6.0pt 6.0pt; width: 89.25pt;" valign="top" width="119"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; vertical-align: top;">
100 Continue<o:p></o:p></div>
</td>
<td style="background: #D9D9D9; border-left: none; border: solid black 1.0pt; height: 15.8pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-left-alt: solid black 1.0pt; padding: 6.0pt 6.0pt 6.0pt 6.0pt; width: 419.7pt;" valign="top" width="560"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; vertical-align: top;">
A status code of 100 indicates that (usually the
first) part of a request has been received without any problems, and that the
rest of the request should now be sent.<o:p></o:p></div>
</td>
</tr>
<tr style="height: 34.7pt; mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td style="background: #D9D9D9; border-top: none; border: solid black 1.0pt; height: 34.7pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-top-alt: solid black 1.0pt; padding: 6.0pt 6.0pt 6.0pt 6.0pt; width: 89.25pt;" valign="top" width="119"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; vertical-align: top;">
101 Switching Protocols<o:p></o:p></div>
</td>
<td style="background: #D9D9D9; border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 34.7pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-left-alt: solid black 1.0pt; mso-border-top-alt: solid black 1.0pt; padding: 6.0pt 6.0pt 6.0pt 6.0pt; width: 419.7pt;" valign="top" width="560"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; vertical-align: top;">
HTTP 1.1 is just one type of protocol for
transferring data on the web, and a status code of 101 indicates that the
server is changing to the protocol it defines in the "Upgrade"
header it returns to the client. For example, when requesting a page, a
browser might receive a status code of 101, followed by an
"Upgrade" header showing that the server is changing to a different
version of HTTP.<o:p></o:p></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">2XX
Information:<o:p></o:p></span></b></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>200
- OK</b><br />
The 200 status code is by far the most common returned. It means, simply, that
the request was received and understood and is being processed.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>201
- Created</b><br />
A 201 status code indicates that a request was successful and as a result, a
resource has been created (for example a new page).<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>202
- Accepted</b><br />
The status code 202 indicates that server has received and understood the
request, and that it has been accepted for processing, although it may not be
processed immediately.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>203
- Non-Authoritative Information</b><br />
A 203 status code means that the request was received and understood, and that
information sent back about the response is from a third party, rather than the
original server. This is virtually identical in meaning to a 200 status code.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>204
- No Content</b><br />
The 204 status code means that the request was received and understood, but
that there is no need to send any data back.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>205
- Reset Content</b><br />
The 205 status code is a request from the server to the client to reset the
document from which the original request was sent. For example, if a user fills
out a form, and submits it, a status code of 205 means the server is asking the
browser to clear the form.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l7 level1 lfo7; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "wingdings 2"; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>206
- Partial Content</b><br />
A status code of 206 is a response to a request for part of a document. This is
used by advanced caching tools, when a user agent requests only a small part of
a page, and just that section is returned<o:p></o:p></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">3XX
Information:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>300
- Multiple Choices</b><br />
The 300 status code indicates that a resource has moved. The response will also
include a list of locations from which the user agent can select the most
appropriate.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>301
- Moved permanently</b><br />
A status code of 301 tells a client that the resource they asked for has permanently
moved to a new location. The response should also include this location. It
tells the client to use the new URL the next time it wants to fetch the same
resource.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>302
- Found</b><br />
A status code of 302 tells a client that the resource they asked for has
temporarily moved to a new location. The response should also include this
location. It tells the client that it should carry on using the same URL to
access this resource.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>303
- See Other</b><br />
A 303 status code indicates that the response to the request can be found at
the specified URL, and should be retrieved from there. It does not mean that
something has moved - it is simply specifying the address at which the response
to the request can be found.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>304
- Not Modified</b><br />
The 304 status code is sent in response to a request (for a document) that
asked for the document only if it was newer than the one the client already
had. Normally, when a document is cached, the date it was cached is stored. The
next time the document is viewed, the client asks the server if the document
has changed. If not, the client just reloads the document from the cache.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>305
- Use Proxy</b><br />
A 305 status code tells the client that the requested resource has to be
reached through a proxy, which will be specified in the response.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l12 level1 lfo8; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>307
- Temporary Redirect</b><br />
307 is the status code that is sent when a document is temporarily available at
a different URL, which is also returned. There is very little difference
between a 302 status code and a 307 status code. 307 was created as another,
less ambiguous, version of the 302 status code.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">4XX
Information:<o:p></o:p></span></b></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>400
- Bad Request</b><br />
A status code of 400 indicates that the server did not understand the request
due to bad syntax.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>401
- Unauthorized</b><br />
A 401 status code indicates that before a resource can be accessed, the client
must be authorised by the server.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>402
- Payment Required</b><br />
The 402 status code is not currently in use, being listed as "reserved for
future use".<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>403
- Forbidden</b><br />
A 403 status code indicates that the client cannot access the requested
resource. That might mean that the wrong username and password were sent in the
request, or that the permissions on the server do not allow what was being
asked.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>404
- Not Found</b><br />
The best known of them all, the 404 status code indicates that the requested
resource was not found at the URL given, and the server has no idea how long
for.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>405
- Method Not Allowed</b><br />
A 405 status code is returned when the client has tried to use a request method
that the server does not allow. Request methods that are allowed should be sent
with the response (common request methods are POST and GET).<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>406
- Not Acceptable</b><br />
The 406 status code means that, although the server understood and processed
the request, the response is of a form the client cannot understand. A client
sends, as part of a request, headers indicating what types of data it can use,
and a 406 error is returned when the response is of a type not i that list.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>407
- Proxy Authentication Required</b><br />
The 407 status code is very similar to the 401 status code, and means that the
client must be authorised by the proxy before the request can proceed.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>408
- Request Timeout</b><br />
A 408 status code means that the client did not produce a request quickly
enough. A server is set to only wait a certain amount of time for responses
from clients, and a 408 status code indicates that time has passed.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>409
- Conflict</b><br />
A 409 status code indicates that the server was unable to complete the request,
often because a file would need to be editted, created or deleted, and that
file cannot be editted, created or deleted.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>410
- Gone</b><br />
A 410 status code is the 404's lesser known cousin. It indicates that a
resource has permanently gone (a 404 status code gives no indication if a
resource has gine permanently or temporarily), and no new address is known for
it.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>411
- Length Required</b><br />
The 411 status code occurs when a server refuses to process a request because a
content length was not specified.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>412
- Precondition Failed</b><br />
A 412 status code indicates that one of the conditions the request was made
under has failed.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>413
- Request Entity Too Large</b><br />
The 413 status code indicates that the request was larger than the server is
able to handle, either due to physical constraints or to settings. Usually,
this occurs when a file is sent using the POST method from a form, and the file
is larger than the maximum size allowed in the server settings.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>414
- Request-URI Too Long</b><br />
The 414 status code indicates the the URL requested by the client was longer
than it can process.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>415
- Unsupported Media Type</b><br />
A 415 status code is returned by a server to indicate that part of the request
was in an unsupported format.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>416
- Requested Range Not Satisfiable</b><br />
A 416 status code indicates that the server was unable to fulfill the request.
This may be, for example, because the client asked for the 800th-900th bytes of
a document, but the document was only 200 bytes long.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l5 level1 lfo9; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>417
- Expectation Failed</b><br />
The 417 status code means that the server was unable to properly complete the
request. One of the headers sent to the server, the "Expect" header,
indicated an expectation the server could not meet.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">5XX
Information<o:p></o:p></span></b></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>500
- Internal Server Error</b><br />
A 500 status code (all too often seen by Perl programmers) indicates that the
server encountered something it didn't expect and was unable to complete the
request.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>501
- Not Implemented</b><br />
The 501 status code indicates that the server does not support all that is
needed for the request to be completed.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>502
- Bad Gateway</b><br />
A 502 status code indicates that a server, while acting as a proxy, received a
response from a server further upstream that it judged invalid.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>503
- Service Unavailable</b><br />
A 503 status code is most often seen on extremely busy servers, and it
indicates that the server was unable to complete the request due to a server
overload.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>504
- Gateway Timeout</b><br />
A 504 status code is returned when a server acting as a proxy has waited too
long for a response from a server further upstream.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #D9D9D9; margin-left: 36.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-list: l6 level1 lfo10; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><b>505
- HTTP Version Not Supported</b><br />
A 505 status code is returned when the HTTP version indicated in the request is
no supported. The response should indicate which HTTP versions are supported.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 18.0pt; mso-add-space: auto; mso-list: l1 level1 lfo6; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">8.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #121212; font-family: "times new roman" , serif; font-size: 18.0pt; line-height: 107%;">Redirection<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">HTTP allows
servers to redirect a client request to a different location. Although, this
will usually result in another network round trip, it has some useful
applications:<o:p></o:p></span></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">A web
application may use redirection to navigate between parts of the
application.<o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">If
content has moved to a different URL or domain name, redirection can be
used to avoid breaking old URLs or bookmarks.<o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">It is possible
to convert a POST request to a GET request using redirection.<o:p></o:p></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">A
client can be directed to use its local cache for content that has not
changed.<o:p></o:p></span></li>
</ul>
<div class="MsoListParagraph" style="line-height: normal; mso-add-space: auto; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "symbol"; font-size: 10.0pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">A server specifies redirection by returning a <b>3xx</b>
status code:<o:p></o:p></span></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="background: #D9D9D9; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 217; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">301<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">This indicates that the content now resides permanently at the
location specified by the <b>Location</b> header and future requests should
be directed to this location.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">302<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Same as <b>301</b>, except that the new location is temporary and
future requests should still be sent to the original location. Another
feature of this status code is that if the original request was a<b> POST</b>
the client will change to using a<b> GET</b> when it re-issues the request
(See below for more details).<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">303<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">This status code was intended to be the only status code that caused a
<b>POST</b> to be converted to a <b>GET</b>. However, most browsers treat a <b>302</b>
like a <b>303.</b><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">304<o:p></o:p></span></div>
</td>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 12.0pt;">Used in response to an <b>If-Modified</b> header to redirect a request
to the browser's local cache.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal">
How redirection happens actually that I show in pictorial
form as below<o:p></o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj71pI60v3dq1kZeDMD3kW_JXOUlNWlERDNWa7jlkdwG-UONsOzLn5c8DGp0ejkOm5mkXcDM8XLvMqX6Tm_ZAKUHJNJh3UgFvHRvKbrbLa-4e6VGaSGXMyPWe2Db53g7dAYvAO44Fk6yXZ8/s1600/clientserver.png" imageanchor="1"><img border="0" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj71pI60v3dq1kZeDMD3kW_JXOUlNWlERDNWa7jlkdwG-UONsOzLn5c8DGp0ejkOm5mkXcDM8XLvMqX6Tm_ZAKUHJNJh3UgFvHRvKbrbLa-4e6VGaSGXMyPWe2Db53g7dAYvAO44Fk6yXZ8/s320/clientserver.png" width="320" /></a></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="_x0000_i1026" type="#_x0000_t75" alt="https://mdn.mozillademos.org/files/13785/HTTPRedirect.png"
style='width:451.5pt;height:239.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png"
o:title="HTTPRedirect"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
The above picture shows, how redirection happens on behalf
of status code. All of these status codes require the URL of the redirect
target to be given in the Location: header of the HTTP response.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>
<div class="MsoNormal">
All of these status codes require the URL of the redirect
target to be given in the Location: header of the HTTP response.<o:p></o:p></div>
<h4>
<span class="mw-headline">Example HTTP response for a 301 redirect</span><o:p></o:p></h4>
A <a href="https://en.wikipedia.org/wiki/HTTP" title="HTTP">HTTP</a> response
with the 301 "moved permanently" redirect looks like this:<o:p></o:p><br />
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">301</span> <span class="ne">Moved Permanently</span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="na">Location</span><span class="o">:</span> <span class="l">http://www.example.org/</span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="na">Content-Type</span><span class="o">:</span> <span class="l">text/html</span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="na">Content-Length</span><span class="o">:</span> <span class="l">174</span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><o:p> </o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">html</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">head</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">title</span><span class="p">></span>Moved<span class="p"></</span><span class="nt">title</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"></</span><span class="nt">head</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">body</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">h1</span><span class="p">></span>Moved<span class="p"></</span><span class="nt">h1</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"><</span><span class="nt">p</span><span class="p">></span>This page has moved to <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"http://www.example.org/"</span><span class="p">></span>http://www.example.org/<span class="p"></</span><span class="nt">a</span><span class="p">></span>.<span class="p"></</span><span class="nt">p</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"></</span><span class="nt">body</span><span class="p">></span><o:p></o:p></pre>
<pre style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;"><span class="p"></</span><span class="nt">html</span><span class="p">></span><o:p></o:p></pre>
<div class="MsoNormal" style="background: #D9D9D9; mso-background-themecolor: background1; mso-background-themeshade: 217;">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 18.0pt; mso-add-space: auto; mso-list: l1 level1 lfo6; text-indent: -18.0pt;">
<!--[if !supportLists]--><b><span style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">9.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;">
</span></span></b><!--[endif]--><b><span style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Cross Domain<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
To understand what is cross
domain, let’s understand Ajax request. Suppose you need to populate states on
the selection of country and you don’t want to reload the page again for each
request. So what we do is we send a silent request (i.e. Ajax request) from
back ground and get the particular contain and using the help of JavaScript and
reloads the only the stat’s dropdown. SO it get loaded and page doesn’t get
refreshed. So suppose A.com want to read data from B.com and both are different
servers. Pulling data form another domain is called cross domain. <o:p></o:p></div>
<div class="MsoNormal">
Following are the pictorial representation of the cross
domain request. The following will show what all the steps happens when we send
the request cross domain.<o:p></o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWLWQkhaz4549ESw4vyjZzX7OVk8QtnHOziYnj6kW1TPXcTjM0ypxi7i76q44SXNEpPMlDXa6okAyCljGJD5hft-ABjcWPthIwHjCXord5ou-d1h8zBBhVtVfy092WSeA1Yn_HR4_YF41/s1600/prefli.png" imageanchor="1"><img border="0" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWLWQkhaz4549ESw4vyjZzX7OVk8QtnHOziYnj6kW1TPXcTjM0ypxi7i76q44SXNEpPMlDXa6okAyCljGJD5hft-ABjcWPthIwHjCXord5ou-d1h8zBBhVtVfy092WSeA1Yn_HR4_YF41/s320/prefli.png" width="320" /></a></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1025" type="#_x0000_t75" alt="https://www.html5rocks.com/static/images/cors_flow.png"
style='width:402.75pt;height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:/Users/DIVYAL~1/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png"
o:title="cors_flow"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">Preflight / Preflight requests<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-left: 36.0pt; mso-list: l8 level1 lfo12; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US">Unlike
simple requests (discussed above), "preflighted" requests first
send an HTTP request by the OPTIONS method to the resource on the
other domain, in order to determine whether the actual request is safe to
send. Cross-site requests are preflighted like this since they may have
implications to user data. In particular, a request is preflighted if:<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt; mso-list: l8 level1 lfo12; tab-stops: list 36.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; mso-ansi-language: EN-US; mso-bidi-font-family: "Wingdings 2"; mso-fareast-font-family: "Wingdings 2";"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US">It
uses methods <b>other</b> than GET,
HEAD or POST. Also, if POST is used to send request
data with a Content-Type <b>other</b> than application/x-www-form-urlencoded,multipart/form-data,
or text/plain, e.g. if the POST request sends an XML payload to
the server using application/xml or text/xml, then the
request <b>is</b> preflighted.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>An example:<o:p></o:p></b></div>
<div class="MsoNormal">
When performing certain types of cross-domain AJAX requests,
modern browsers that support CORS will insert an extra "preflight"
request to determine whether they have permission to perform the action.<span lang="EN-US"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
In the above request and response the “<!--[if gte vml 1]><v:rect id="Rectangle_x0020_13"
o:spid="_x0000_s2053" style='position:absolute;margin-left:-33.75pt;
margin-top:-.75pt;width:154.55pt;height:28.75pt;z-index:251663360;
visibility:visible;mso-wrap-style:none;mso-wrap-distance-left:9pt;
mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;
mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
mso-position-horizontal-relative:text;mso-position-vertical:absolute;
mso-position-vertical-relative:text;v-text-anchor:top' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAXO61sJ4CAADRBgAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzUVctu2zAQvBfoPxC8J5JfsWNEDtK0
TgsUqWGnH7CmVhIRilJJWrHz9V3q4ShJkUObS2FAJsXhcHZ2l7q43OeKVWisLHTEB6chZ6hFEUud
Rvzn3fJkxpl1oGNQhcaIH9Dyy8XHDxcwTw2UmRSMGLSdQ8Qz58p5EFiRYQ72tChR01pSmBwcTU0a
xAYe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2VXVg8ZMB4otJOs0hdroG0i+hJP9n+2GYFJ69elh0+UcEy6UXFqCMBjMHSldn
nTUtXYGJhn39Jt4AAAD//wMAUEsBAi0AFAAGAAgAAAAhALvlSJQFAQAAHgIAABMAAAAAAAAAAAAA
AAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQSwECLQAUAAYACAAAACEArTA/8cEAAAAyAQAACwAA
AAAAAAAAAAAAAAA2AQAAX3JlbHMvLnJlbHNQSwECLQAUAAYACAAAACEAXO61sJ4CAADRBgAAHwAA
AAAAAAAAAAAAAAAgAgAAY2xpcGJvYXJkL2RyYXdpbmdzL2RyYXdpbmcxLnhtbFBLAQItABQABgAI
AAAAIQC2OwQiVAYAAAsaAAAaAAAAAAAAAAAAAAAAAPsEAABjbGlwYm9hcmQvdGhlbWUvdGhlbWUx
LnhtbFBLAQItABQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAAAAAAAAAAAAAAAIcLAABjbGlwYm9h
cmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHNQSwUGAAAAAAUABQBnAQAAigwAAAAA
" filled="f" stroked="f">
<v:textbox style='mso-fit-shape-to-text:t'/>
</v:rect><![endif]--><!--[if !vml]--><span style="mso-ignore: vglayout; position: relative; z-index: 251663360;"></span></div>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="42" style="vertical-align: top;" width="210"><!--[endif]--><!--[if !mso]--><span style="mso-ignore: vglayout; position: absolute; z-index: 251663360;">
<table cellpadding="0" cellspacing="0" style="width: 100%px;">
<tbody>
<tr>
<td><!--[endif]-->
<br />
<div class="shape" style="padding: 3.6pt 7.2pt 3.6pt 7.2pt;" v:shape="Rectangle_x0020_13">
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-family: "helvetica neue" , serif; font-size: 18pt; line-height: 107%;">Preflight
Request:</span></b><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-family: "helvetica neue" , serif; font-size: 18pt; line-height: 107%;"><br /></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-family: "helvetica neue" , serif; font-size: 18pt; line-height: 107%;"><br /></span></b></div>
</div>
<!--[if !mso]--></td>
</tr>
</tbody></table>
</span><!--[endif]--><!--[if !mso & !vml]--> <!--[endif]--><!--[if !vml]--></td>
</tr>
</tbody></table>
<br />
<br />
<table cellpadding="0" cellspacing="0"><tbody>
<tr><td bgcolor="#444444" height="223" style="background: rgb(68, 68, 68); vertical-align: top;" width="719"><span style="position: absolute; z-index: 251660288;"><table cellpadding="0" cellspacing="0" style="width: 100%px;"><tbody>
<tr><td><div class="shape" style="padding: 3.6pt 7.2pt 24.9921pt;" v:shape="Rectangle_x0020_4">
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">OPTIONS /cors HTTP/</span><span style="color: #3387cc; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">1.1</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;"></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Origin</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: http:</span></b><b><i><span style="color: #aeaeae; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">//api.bob.com</span></i></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;"></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Access</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Control</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Request</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Method</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: PUT</span></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;"></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Access</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Control</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Request</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Headers</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: X-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Custom</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Header</span></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;"> </span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Host</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: api.alice.com </span><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Accept</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Language</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: en-US</span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Connection</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: keep-alive</span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">User</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">-</span><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Agent</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">: </span><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">Mozilla</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">/</span><span style="color: #3387cc; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">5.0</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16pt; line-height: 22.8267px;">...</span><span style="font-size: 16pt; line-height: 22.8267px;"></span><o:p></o:p></div>
</div>
</td></tr>
</tbody></table>
</span> </td></tr>
</tbody></table>
<div class="MsoNormal">
</div>
<br />
<br />
<br />
<br />
<table cellpadding="0" cellspacing="0"><tbody>
<tr><td height="42" style="vertical-align: top;" width="223"><span style="position: absolute; z-index: 251662336;"><table cellpadding="0" cellspacing="0" style="width: 100%px;"><tbody>
<tr><td><div class="shape" style="padding: 3.6pt 7.2pt;" v:shape="Rectangle_x0020_12">
<div class="MsoNormal" style="margin-bottom: 0.0001pt; vertical-align: baseline;">
<b><span style="font-family: "helvetica neue" , serif; font-size: 18pt; line-height: 25.68px;">Preflight Response:</span></b></div>
</div>
</td></tr>
</tbody></table>
</span></td></tr>
</tbody></table>
<div class="MsoNormal">
<span style="mso-ignore: vglayout; position: relative; z-index: 251663360;"><span style="height: 42px; left: -45px; position: absolute; top: -1px; width: 210px;">
</span><span style="height: 42px; left: -45px; position: absolute; top: -1px; width: 210px;"><br /></span></span></div>
<table cellpadding="0" cellspacing="0"><tbody>
<tr><td height="42" style="vertical-align: top;" width="223"><span style="mso-ignore: vglayout; position: absolute; z-index: 251662336;"><table cellpadding="0" cellspacing="0" style="width: 100%px;"><tbody>
</tbody></table>
</span><!--[endif]--><!--[if !mso & !vml]--> <!--[endif]--><!--[if !vml]--></td>
</tr>
</tbody></table>
<div class="MsoNormal">
<span style="height: 42px; margin-left: -34px; margin-top: 294px; mso-ignore: vglayout; position: absolute; width: 223px; z-index: 251662336;">
</span><!--[endif]--><!--[if gte vml 1]><v:rect id="Rectangle_x0020_5" o:spid="_x0000_s2051"
style='position:absolute;margin-left:-25.85pt;margin-top:257.45pt;width:361.4pt;
height:107pt;z-index:251661312;visibility:visible;mso-wrap-style:none;
mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;
mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
mso-position-horizontal-relative:text;mso-position-vertical:absolute;
mso-position-vertical-relative:text;v-text-anchor:middle' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy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AIAAAAIQCcZkZBuwAAACQBAAAqAAAAAAAAAAAAAAAAAOEOAABjbGlw
Ym9hcmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHNQSwUGAAAAAAUABQBnAQAA5A8A
AAAA
" fillcolor="#444" stroked="f" strokecolor="black [3213]">
<v:shadow color="#e7e6e6 [3214]"/>
<v:textbox style='mso-fit-shape-to-text:t' inset=",,,8.81667mm"/>
</v:rect><![endif]--><!--[if !vml]--></div>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td bgcolor="#444444" height="147" style="background: #444444; vertical-align: top;" width="485"><!--[endif]--><!--[if !mso]--><span style="mso-ignore: vglayout; position: absolute; z-index: 251661312;">
<table cellpadding="0" cellspacing="0" style="width: 100%px;">
<tbody>
<tr>
<td><!--[endif]-->
<br />
<div class="shape" style="padding: 3.6pt 7.2pt 24.9921pt 7.2pt;" v:shape="Rectangle_x0020_5">
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-break-override: restrictions; punctuation-wrap: simple; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; mso-font-kerning: 12.0pt;">A</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">ccess</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Control</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Allow</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Origin</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">: http:</span></b><b><i><span style="color: #aeaeae; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">//api.bob.com</span></i></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;"> </span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-break-override: restrictions; punctuation-wrap: simple; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Access</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Control</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Allow</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Methods</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">: GET, POST, PUT</span></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;"> </span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-break-override: restrictions; punctuation-wrap: simple; vertical-align: baseline;">
<b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Access</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Control</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Allow</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Headers</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">: X-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Custom</span></b><b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span></b><b><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Header</span></b><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;"> </span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; mso-line-break-override: restrictions; punctuation-wrap: simple; vertical-align: baseline;">
<span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Content</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">-</span><span style="color: #89bdff; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">Type</span><span style="color: white; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">: text/html; charset=utf-</span><span style="color: #3387cc; font-family: "source code pro" , serif; font-size: 16.0pt; line-height: 107%;">8</span><span style="font-size: 16pt; line-height: 107%;"> </span><o:p></o:p></div>
</div>
<!--[if !mso]--></td>
</tr>
</tbody></table>
</span><!--[endif]--><!--[if !mso & !vml]--> <!--[endif]--><!--[if !vml]--></td>
</tr>
</tbody></table>
<br />
<br />
<br />
<br />
<div class="MsoNormal">
<span style="height: 147px; margin-left: -34px; margin-top: 343px; mso-ignore: vglayout; position: absolute; width: 485px; z-index: 251661312;">
</span><!--[endif]--><!--[if gte vml 1]><v:rect id="Rectangle_x0020_4" o:spid="_x0000_s2050"
style='position:absolute;margin-left:-25.85pt;margin-top:40.15pt;width:536.25pt;
height:164.3pt;z-index:251660288;visibility:visible;mso-wrap-style:square;
mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;
mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
mso-position-horizontal-relative:text;mso-position-vertical:absolute;
mso-position-vertical-relative:text;v-text-anchor:middle' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAVC1Uip4GAAAtVAAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzsXFtv4jgUfl9p/4OVdyCBcNXQETAw
M1KnRYVq9tU4hkRN7IxtLu1q//seO+E63W7pAKuZNZXahLgn9ufvfMf3d+9XSYwWVMiIs7bj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v:textbox style='mso-fit-shape-to-text:t' inset=",,,8.81667mm"/>
</v:rect><![endif]--><!--[if !vml]--></div>
<br />
<div class="MsoNormal">
<span style="height: 223px; margin-left: -34px; margin-top: 53px; mso-ignore: vglayout; position: absolute; width: 719px; z-index: 251660288;">
</span><!--[endif]-->Access-Control-Request-Method” sends the requested method and
in response server sends Allowed methods, which are accepted by servers.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 18.0pt; mso-add-space: auto; mso-list: l1 level1 lfo6; text-indent: -18.0pt;">
<!--[if !supportLists]--><b><span style="font-family: "times new roman" , serif; font-size: 16.0pt; line-height: 107%;">10.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;">
</span></span></b><!--[endif]--><b><span style="font-family: "times new roman" , serif; font-size: 16.0pt; line-height: 107%;">Multipart Request<o:p></o:p></span></b></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 18.0pt; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 39.6pt; mso-add-space: auto; mso-list: l1 level2 lfo6; text-indent: -21.6pt;">
<!--[if !supportLists]--><b><i><span style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">10.1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-style: normal; font-weight: normal; line-height: normal;">
</span></span></i></b><!--[endif]--><b><i><span style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">What is multipart?<o:p></o:p></span></i></b></div>
<div class="MsoNormal" style="margin-left: 39.6pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">A HTTP multipart
request is a HTTP request that HTTP clients construct to send files and data
over to a HTTP Server. It is commonly used by browsers and HTTP clients to
upload files to the server.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 39.6pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Thus, a typical
multipart Content-Type header field might look like this:<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 93.6pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Type:
multipart/mixed; <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 129.6pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">boundary=gc0p4Jq0M2Yt08jU534c0p<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 39.6pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">This indicates
that the entity consists of several parts, each itself with a structure that is
syntactically identical to an RFC 822 message, except that the header area
might be completely empty, and that the parts are each preceded by the line <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 89.25pt; text-align: justify;">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">--gc0p4Jq0M2Yt08jU534c0p<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Example:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><html> <o:p></o:p></html></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><head> <o:p></o:p></head></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><title>File
Upload</title> <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"> </span></div>
<o:p></o:p>
<br />
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><body> <o:p></o:p></body></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"></span><br />
<form action="upload" enctype="multipart/form-data" method="POST">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><o:p></o:p></span></form>
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;">
</span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;">File: <input id="file" name="file" type="file" /><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><br /> <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;">Destination:
<input name="destination" type="text" value="/tmp" /> <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"> <input id="upload" name="upload" type="submit" value="Upload" /> <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 13.0pt; line-height: 107%;"></span></div>
<o:p></o:p>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">This is what submitted data from the fileupload form looks like, after
selecting sample.txt as the file that will be uploaded to the tmp directory on
the local file system:<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">POST /fileupload/upload HTTP/1.1<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Host: localhost:8080<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Type: multipart/form-data; <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">boundary=---------------------------263081694432439<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Length: 441<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">-----------------------------263081694432439<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Disposition: form-data; name="file";
filename="sample.txt"<o:p></o:p></span></div>
<div class="MsoNormal">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Type: text/plain<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Data from sample file<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">-----------------------------263081694432439<o:p></o:p></span></div>
<div class="MsoNormal">
<a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=5335585927093584174" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Disposition: form-data; name="destination"<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">/tmp<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">-----------------------------263081694432439<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Disposition: form-data; name="upload"<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Upload<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">-----------------------------263081694432439--<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Therefore it is clear that:<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 40.5pt; mso-list: l3 level3 lfo13; tab-stops: list 40.5pt 108.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; font-size: 14.0pt; line-height: 107%;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Content-Type: multipart/form-data; boundary=---------------------------9051914041544843365972754266 sets
the content type to multipart/form-data and says that the fields are
separated by the given boundary string.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 40.5pt; mso-list: l3 level3 lfo13; tab-stops: list 40.5pt 108.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; font-size: 14.0pt; line-height: 107%;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">every field gets some sub headers before its
data:<br />
Content-Disposition: form-data;, <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 40.5pt; mso-list: l3 level3 lfo13; tab-stops: list 40.5pt 108.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; font-size: 14.0pt; line-height: 107%;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">the field name, the filename, followed by
the data.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 40.5pt; mso-list: l3 level3 lfo13; tab-stops: list 40.5pt 108.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; font-size: 14.0pt; line-height: 107%;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">The server reads the data until the next boundary
string. The browser must choose a boundary that will not appear in any of the
fields, so this is why the boundary may vary between requests.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 40.5pt; mso-list: l3 level3 lfo13; tab-stops: list 40.5pt 108.0pt; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-US" style="font-family: "wingdings 2"; font-size: 14.0pt; line-height: 107%;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span lang="EN-US" style="font-family: "times new roman" , serif; font-size: 14.0pt; line-height: 107%;">Because we have the unique boundary, no encoding of
the data is necessary: binary data is sent as is.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-69236034191646554252012-01-06T05:24:00.000-08:002012-01-06T05:24:16.762-08:00How to use PageMethods in .net<div dir="ltr" style="text-align: left;" trbidi="on">
<h3>
PageMethods Example</h3>
Lets look at a simple example of how to use <b>PageMethods</b>.<br />
<br />
The things you need to do in your code behind is add<br />
<ul style="text-align: left;">
<li>using System.Web.Script.Services;</li>
</ul>
If you want to call WebService then you have to use<br />
<br />
<ul style="text-align: left;">
<li> using System.Web.Services;</li>
</ul>
<br />
<div style="color: purple;">
<u><b>In .Cs(Code behind) file write the code</b></u></div>
<div style="color: purple;">
<u><b><br /></b></u></div>
<div>
<pre><code>[ScriptMethod, WebMethod]</code></pre>
<pre><code></code></pre>
<pre><code> public static string callLogoff()
{
// to do your code
return "what you want"
} </code></pre>
<pre><code>
</code></pre>
<pre><code><b style="color: purple;"><u>In ASPX Page</u></b></code></pre>
<pre><code>
</code></pre>
<ul style="text-align: left;">
<li><pre><b><code>Add scriptmanager this within form method and make</code></b></pre>
<pre><code> </code></pre>
<pre><code>EnablePageMethods="true"</code></pre>
</li>
</ul>
<ul style="text-align: left;">
<li><b>Now write script method within head tag</b></li>
</ul>
<br />
function closesession() {<br />
if (window.event.clientY < 0) {<br />
PageMethods.callLogoff();<br />
alert("Thank you for Visiting. Logging out now.....")<br />
}<br />
}<br />
<br />
<br />
<ul style="text-align: left;">
<li>In body tag add </li>
</ul>
onbeforeunload="closesession()"<br />
<br />
<br />
<br />
--------------------------------------------- <br />
<br />
Hope this will help you.</div>
</div>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-18977733246709221132009-06-03T05:28:00.000-07:002009-06-09T22:51:39.921-07:00WCF Basics<div><a name="WhatisWCF"><strong>What is WCF?</strong></a><br /><br /><div></div><br /><div>WCF is a unification technology, which unites the following technologies:-</div><br /><div>• NET remoting</div><br /><div>• MSMQ</div><br /><div>• Web services</div><br /><div>• COM+.</div><br /><br /><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6pA7w2SH7-kf3PvYtezMaQ3pkIYfQ8zwu_d6AXtMSmCvJGUuEPwfuKH1WwcmfZZ5-w_pbMGCJCoyYSf_1e0P8Xdvdt9Fif-mrBE30veV0c-mJB2gvwWCeM-RRvO-mg7A0Foj5aSST3Svf/s1600-h/component.jpg"><img id="BLOGGER_PHOTO_ID_5343080554414783106" style="width: 400px; height: 319px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6pA7w2SH7-kf3PvYtezMaQ3pkIYfQ8zwu_d6AXtMSmCvJGUuEPwfuKH1WwcmfZZ5-w_pbMGCJCoyYSf_1e0P8Xdvdt9Fif-mrBE30veV0c-mJB2gvwWCeM-RRvO-mg7A0Foj5aSST3Svf/s400/component.jpg" border="0" /></a></div><br /><div></div><br /><div><a name="Whatareendscontractaddressandbindings"><strong><span style="color:#000099;">What are ends, contract, address, and bindings?</span></strong></a><br /></div><br /><div>The above terminologies are the core on which SOA stands. Every service must expose one or more ends by which the service can be available to the client. End consists of three important things where, what and how:-<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Contract (What)</span><br /></div><br /><div>Contract is an agreement between two or more parties. It defines the protocol how client should communicate with your service. Technically, it describes parameters and return values for a method.<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Address (Where)</span><br /></div><br /><div>An Address indicates where we can find this service. Address is a URL, which points to the location of the service.<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Binding (How)</span><br /></div><br /><div>Bindings determine how this end can be accessed. It determines how communications is done. For instance, you expose your service, which can be accessed using SOAP over HTTP or BINARY over TCP. So for each of these communications medium two bindings will be created.</div><br /><div></div><br /><div><strong><span style="color:#000099;">The Important Principles of SOA?</span></strong></div><br /><div></div><br /><div>WCF is based on SOA. SOA is based on four important concepts:-<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Boundaries are well defined</span><br /></div><br /><div>In SOA, everything is formalized. The client who is consuming the service does not need to know how the implementation of the service is done. If you look at some old methodologies of communication like DCOM. Any changes at server level the client also has to change. Therefore, the server and client implementation was so much bound that changes need to be done at all places. In SOA, the rule is if you do enhancement you do not need to change anything at the client. SOA based application only understands that there is an end point, contract, and bindings.<br /></div><br /><div>Note: - Just to clarify shortly about end point and contract. Any SOA service is exposed through an end point. End point defines three important aspects What, Where and How. </div><br /><div></div><br /><div><span style="color: rgb(102, 51, 102);">• Services evolve</span><br /></div><br /><div>Change is the law of nature and services will evolve. In SOA, services can be versioned and you can host those services in new ends. For instance, you have a service called as “Search Tickets (Ticket Number) “which gives details based on Ticket Number and its exposed on end point “ep1”. Tomorrow you want make your Search Tickets service more useful by also providing an extra option of allowing him to search by passenger name. Therefore, you just declare a new end “ep2” with service “Search Tickets (Ticket Number, Passenger Name)”. So the client who is consuming the service at end ep1 continues and at the other end, we have evolved our service by adding new ends ep2.<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Services share only schemas and contracts</span><br /></div><br /><div>Services use Schemas to represent data and contracts to understand behavior. They do not use language dependent types or classes in order to understand data and behavior. XML is used to define schemas and contracts. Due to this, there is not heavy coupling between environments.<br /></div><br /><div><span style="color: rgb(102, 51, 102);">• Service compatibility is policy based</span><br /></div><br /><div>Policy describes the capabilities of the system. Depending on policies, the service can degrade to match the service for the client. For instance your service needs to be hosted for two types of client one which uses Remoting as the communication methodology while other client uses DCOM. An ideal SOA service can cater to both of them according to there communication policies. </div><br /><div></div><br /><div></div></div>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-11597829381948872132009-06-03T01:43:00.000-07:002009-06-09T22:56:34.870-07:00A Step by Step WCF Small Programme For Beginners<span style="color: rgb(0, 0, 153);"><strong>Abstract </strong></span><br /><br /><div><div><div><div><div><div><div><div><div></div><div>In this article, i am gonna show you a small Addition programme using WCF. After going through this snippet, reader gets a clear and basic understanding of the WCF programme.<br /><br /></div><div><strong><span style="color: rgb(0, 0, 153);">Introduction</span></strong></div><br /><div>WCF(Windows Communication Framework) is a unification technology, which unites the following technologies:-• NET remoting• MSMQ• Web services• COM+. It is based on SOA(Service Oriented Architecture). <a href="http://divyaloksuman.blogspot.com/2009/06/wcf-basics.html">Read basic before go through this article</a>.<br /></div><br /><div><strong><span style="color: rgb(0, 0, 153);">Code Snippet</span></strong></div><span style="color: rgb(0, 153, 0);">(Service/Server Side)</span><br /><br /><div><span style="color: rgb(102, 0, 204);">Steps Involved:-</span></div><div></div><div><span style="color: rgb(51, 0, 0);">Step 1:</span> Open VS2008 , create project and choose "Windows Service Application" just give any name to your project. I named it "MyService".</div><br /><div><span style="color: rgb(51, 0, 0);">Step 2:</span> You will see the solution window, in that open "IMyService.cs". In that you will see <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbbQoXaaiZvN45fKeiFJNBqk_PHNUykizJmUivEBbqG82e4hcXYF6Xpi1Po7fhuHxaWvD2N3JzYhg48gJSMneWptSWVAzJHtNztZjei55SKnsStTPzrAVMBoNrB14mxODP7u-ZjeF38a3i/s1600-h/solutionexp.jpg"><img id="BLOGGER_PHOTO_ID_5343032529244748546" style="margin: 0px 0px 10px 10px; float: right; width: 214px; height: 195px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbbQoXaaiZvN45fKeiFJNBqk_PHNUykizJmUivEBbqG82e4hcXYF6Xpi1Po7fhuHxaWvD2N3JzYhg48gJSMneWptSWVAzJHtNztZjei55SKnsStTPzrAVMBoNrB14mxODP7u-ZjeF38a3i/s320/solutionexp.jpg" border="0" /></a>[ServiceContract] below this your interface name is declared. There after you'll see [OperationContract] your function contract should be define here. The implementation of the function will be define in "MyService.svc.cs" As provided in the picture.</div></div><div><br /></div><div><br /></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8oqaqgwVMC4PSjNTaHTiaWmBGVmMfg5E4ii-pushXM0f1z8gFqrlWCt083NHb1CWuuKJg__m8vQu16OR7CdU1ctea9J9Xc1Fh6l0Kv1u6vMqsBQOu5cxh0Aah_TcRLw3Px19uC7KQuhyP/s1600-h/solutionexp1.jpg"><img id="BLOGGER_PHOTO_ID_5343032530181348450" style="margin: 0px 0px 10px 10px; float: right; width: 221px; height: 219px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8oqaqgwVMC4PSjNTaHTiaWmBGVmMfg5E4ii-pushXM0f1z8gFqrlWCt083NHb1CWuuKJg__m8vQu16OR7CdU1ctea9J9Xc1Fh6l0Kv1u6vMqsBQOu5cxh0Aah_TcRLw3Px19uC7KQuhyP/s320/solutionexp1.jpg" border="0" /></a><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjng_fLntG36_UywdAhpfui8ceiS-kR9Lt46FoiyPCdZCptp2hDZoMBK7UXydLsP7fDtUr4bza3W6qJhTnOPTndJx7baHvMI_2HquOPqdpKkQCC4eEJRjH5MTo_Q-H00bhRljLOV6Fgu-WB/s1600-h/IMyService.jpg"><img id="BLOGGER_PHOTO_ID_5343037557391123906" style="width: 391px; height: 304px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjng_fLntG36_UywdAhpfui8ceiS-kR9Lt46FoiyPCdZCptp2hDZoMBK7UXydLsP7fDtUr4bza3W6qJhTnOPTndJx7baHvMI_2HquOPqdpKkQCC4eEJRjH5MTo_Q-H00bhRljLOV6Fgu-WB/s320/IMyService.jpg" border="0" /></a><br /></div><div></div><div></div><div></div><div><p><span style="color: rgb(51, 0, 0);">Step 3:</span> Open "MyService.svc.cs" and write code here. As i have written code for my "addfunction". You can write your code inside your function. The picture is shown below.</p></div><div></div><div></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgczILAx_D_reslY9dl2-N4LMvGOJP2Fbq9yzkX1gaI3wvn4tgBb8Eejy0hTCb2lVAJthxfcT1T-sf9CeciKwB0USxpDOFFxbkOdZgDdgIf5t9kGiYsyap0KE_0PT5V8JHXjviCSnuZk1d7/s1600-h/MyService.jpg"><img id="BLOGGER_PHOTO_ID_5343038539859224434" style="width: 426px; height: 399px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgczILAx_D_reslY9dl2-N4LMvGOJP2Fbq9yzkX1gaI3wvn4tgBb8Eejy0hTCb2lVAJthxfcT1T-sf9CeciKwB0USxpDOFFxbkOdZgDdgIf5t9kGiYsyap0KE_0PT5V8JHXjviCSnuZk1d7/s400/MyService.jpg" border="0" /></a></div><div></div><div></div><div></div><div></div><div><p><span style="color: rgb(51, 0, 0);">Step 4:</span> This is most important step. In this we are declaring the end point. Inside the <system.servicemodel>we can define end point, as shown in picture end point is defined automatically. we can also define it by programme.</system.servicemodel></p></div><div></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLLFxXo7gB7z2sry1I5aBhhwnZbb9CMsPbo8oJ1_RbuZ6CrnsnFfCaXsHjp0ZwL2sa4QSVWqDr1TVFryPweqwkIyCuja6-an8DFazV29D-jrOw6CpWYWG53oTNs3qdr6awvUa15R__1MV1/s1600-h/webconfi.jpg"><img id="BLOGGER_PHOTO_ID_5343042636742540946" style="width: 494px; height: 301px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLLFxXo7gB7z2sry1I5aBhhwnZbb9CMsPbo8oJ1_RbuZ6CrnsnFfCaXsHjp0ZwL2sa4QSVWqDr1TVFryPweqwkIyCuja6-an8DFazV29D-jrOw6CpWYWG53oTNs3qdr6awvUa15R__1MV1/s400/webconfi.jpg" border="0" /></a><br /></div><div></div><div></div><div></div><div></div><div><p><span style="color: rgb(51, 0, 0);">Step 5:</span> Save the project and run it. This will Display like this. Copy the address from explorer address bar.<br /></p></div><p></p><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdZXlqDQls2UuNz9gLVX2JGxhNDLbBieOFNC5MXGfguuL0d_VpvuayqNmUZEfs4oLDjVak_iPyzKSOAZfODt3pE1IoamsGM7hl-SG8lTyafMgcXuDgfDJiHXAcNqIOZ0QoUqEJY5q6hNTd/s1600-h/explor.jpg"><img id="BLOGGER_PHOTO_ID_5343043811641542690" style="width: 500px; height: 305px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdZXlqDQls2UuNz9gLVX2JGxhNDLbBieOFNC5MXGfguuL0d_VpvuayqNmUZEfs4oLDjVak_iPyzKSOAZfODt3pE1IoamsGM7hl-SG8lTyafMgcXuDgfDJiHXAcNqIOZ0QoUqEJY5q6hNTd/s320/explor.jpg" border="0" /></a><br /><br /><strong><span style="color: rgb(0, 0, 153);">Code Snippet</span></strong> </div><div><span style="color: rgb(0, 153, 0);">(Client Side)</span></div><div><span style="color: rgb(102, 102, 102);">Let the server service run(the above page).</span></div><div><br /><span style="color: rgb(51, 0, 0);">Step 1:</span> Open a web application in another VS2008 and right click on solution name and then go to "Add Service Reference" one window will open paste the previously copied link to the address bar and press GO. Then the service will appear in service section then press OK. The service reference will appear in solution explorer as below. </div><div><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAUBWLgYWkMYETh2ioVDv_efP8ZhGLSzkvoy0qG7MmDh2rl4T5_Q42bDpf1g88YwbRof7bdTp9Q0Rj36ul98WLTJUJIdyVY-H5Hq9QFfa24SN6D_NwpptByfFWglmaG_eVtGl2-seu4eHV/s1600-h/clien.jpg"><img id="BLOGGER_PHOTO_ID_5343047030418064194" style="width: 221px; height: 227px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAUBWLgYWkMYETh2ioVDv_efP8ZhGLSzkvoy0qG7MmDh2rl4T5_Q42bDpf1g88YwbRof7bdTp9Q0Rj36ul98WLTJUJIdyVY-H5Hq9QFfa24SN6D_NwpptByfFWglmaG_eVtGl2-seu4eHV/s320/clien.jpg" border="0" /></a><br /></div><div></div><div></div><div></div><div></div><div><p><span style="color: rgb(51, 0, 0);">Step2:</span> Now add one button on the default page, then double click on button you'll be in code behind section. Here create the object of the service which appeared in the solution explorer. Something like this.<br /><br /><span style="color: rgb(153, 153, 153);">protected void Button1_Click(object sender, EventArgs e)<br />{<br />ServiceReference1.MyServiceClient cls = new wcfProxycall.ServiceReference1.MyServiceClient();<br />cls.Open();<br />Response.Write( cls.addData(5, 4));<br />cls.Close();<br />}<br /></span></p></div><div><br /></div><div></div><div><br /></div><div><span style="color: rgb(51, 0, 0);">Step 3:</span> Now save the project and run it. If every thing goes fine then the output will be like this.</div><div><br /></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju01Mbl38SbVBWgcU9F_o8L4zKFf4mGL2z2BRwbqhlRe9UDxueVuT-35Ziia2_CpwZmJZabEzBpYcTwcVCWbMbmHxDdeSl33mi7EnYo-Asu6nYeE9JmT0Tapqosuonl9ojT36GGNYcfrBY/s1600-h/output.jpg"><img id="BLOGGER_PHOTO_ID_5343050324523178322" style="width: 400px; height: 300px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju01Mbl38SbVBWgcU9F_o8L4zKFf4mGL2z2BRwbqhlRe9UDxueVuT-35Ziia2_CpwZmJZabEzBpYcTwcVCWbMbmHxDdeSl33mi7EnYo-Asu6nYeE9JmT0Tapqosuonl9ojT36GGNYcfrBY/s400/output.jpg" border="0" /></a><br /><br /></div><div></div><div></div><div></div><div><p>Hope this article may helped you to understand and build a simple addition programme in WCF.</p></div><div>Thanks. </div><div> </div></div></div></div></div></div></div></div>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-87228452825886066822009-04-21T23:21:00.000-07:002009-04-21T23:49:07.472-07:00Working with instance and static constructor in C# 2.0<span style="font-weight: bold; color: rgb(51, 51, 255);">Abstract</span><br /><br />In this article, i am gonna tell u about the static and non-static constructor. After going through this snippet, <span id="abstractLabel">reader gets a clear cut understanding of the steps involved in object initialization (Both static and non-static).<br /><br /></span><span style="font-weight: bold; color: rgb(51, 51, 255);" id="intellitTxt"><a class="pageTitle" id="#Page1">Introduction</a></span><div class="KonaBody"> <p class="MsoNormal">In C#, constructor is defined as a method which gets called whenever an object is created. A constructor may or may not have arguments without any return type. In C#, we also have static constructors. Static constructors are used to initialize Static variables. Let us understand how and when these constructors get called.</p><p class="MsoNormal"><span style="font-weight: bold; color: rgb(51, 51, 255);">Code Snippet</span><br /></p> </div><p style="font-style: italic; color: rgb(204, 51, 204);" class="MsoNormal">The code below explains when an instance constructor gets called in class.</p><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">using</span> System;<br /><div class="MsoNormal"><pre><span style="color: Black; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> A<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class A</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> A()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class A"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> B: A<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class B</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> B()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class B"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> C: B<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class C</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> C()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class C"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> Client<br />{<br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">static</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">void</span> Main(<span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">string</span>[]args)<br /> {<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">// Initializing the class C's constructor.</span><br /> C c <span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">=</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">new</span> C();<br /> Console.Read();<br /> }<br />}</span></pre></div> <p class="CodeListingHeading">Figure 1 </p> <p class="MsoNormal"><img src="http://aspalliance.com/ArticleFiles/1027/image001.jpg" width="576" height="160" /></p><div class="MsoNormal"><pre>In the above screen,Constructor of Class A gets called first, constructor of<br />Class B gets called and constructor of Class C then. Class A is the base<br />class and hence we understand that constructor of A gets called first.<br />This behavior of the code is expected.<br /><span style="font-style: italic;"><br /><span style="font-size:100%;"><span style="color: rgb(204, 51, 204); font-weight: bold;">The code below explains when an instance n static constructor gets called in class.</span></span></span><br /><br /><span style="color: Black; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">using</span> System;<br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> A<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Static Constructor of Class A</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">static</span> A()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Static Constructor of Class A"</span>);<br /> }<br /><br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class A</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> A()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class A"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> B: A<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Static Constructor of Class B</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">static</span> B()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Static Constructor of Class B"</span>);<br /> }<br /><br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class B</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> B()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class B"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> C: B<br />{<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Static Constructor of Class A</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">static</span> C()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Static Constructor of Class C"</span>);<br /> }<br /><br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">//Constructor of Class C</span><br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> C()<br /> {<br /> Console.WriteLine(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;">"Constructor of Class C"</span>);<br /> }<br />}<br /><br /><span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">public</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">class</span> Client<br />{<br /> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">static</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">void</span> Main(<span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">string</span>[]args)<br /> {<br /> <span style="color: Green; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">// Initializing the class C's constructor.</span><br /> C c <span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">=</span> <span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;">new</span> C();<br /> Console.Read();<br /> }<br />}</span></pre></div> <p class="CodeListingHeading">Figure 2</p> <p class="MsoNormal"><img src="http://aspalliance.com/ArticleFiles/1027/image002.jpg" width="576" height="123" /></p><p class="MsoNormal">Surprised witht this output. This is the obevious behaviour of this. When the .NET runtime executes the statement "new C()" it understands that it has to create an object of C. Then it calls the static constructor of class C. It then calls the static constructor of the class B and then A. The instance constructor of the class A, B and C are then called.<br /></p><p style="font-weight: bold; color: rgb(51, 51, 255);" class="MsoNormal"><span id="intellitTxt"><a class="pageTitle" id="#Page3">Conclusion</a></span></p><div class="KonaBody"> <p class="MsoNormal">Whenever an object gets initialized .NET runtime executes the object in 2 passes. In the first pass it initializes all the static variables in the upward hierarchy by calling the static constructors. In the second pass it executes all the instance constructors in the downward hierarchy.</p> </div>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-77931347541696066752009-02-04T12:05:00.000-08:002009-02-05T01:09:45.052-08:00Do Children Not Have Any Right?<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48Ezj8H2NrTQSXwkIaf4WZu5FzY4Y4kGvBXS-XCA0GSHR7AmT2me-aknXHMgxy3ux8cy84zPIv4gfLCbJEFIeDuAGxMhc4-G3ebxjHADo4QpnsxmjOvW0urb8_njcNsOvbpD0UcAG6-0d/s1600-h/aa.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 226px; height: 182px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48Ezj8H2NrTQSXwkIaf4WZu5FzY4Y4kGvBXS-XCA0GSHR7AmT2me-aknXHMgxy3ux8cy84zPIv4gfLCbJEFIeDuAGxMhc4-G3ebxjHADo4QpnsxmjOvW0urb8_njcNsOvbpD0UcAG6-0d/s320/aa.jpg" alt="" id="BLOGGER_PHOTO_ID_5299065995402673698" border="0" /></a><br />A few days ago<span id="lblStory" class="StoryText"> 9-year-old Komal was </span><span id="lblStory" class="StoryText">brutally hit by policemen. They </span><span id="lblStory" class="StoryText">had hit her for allegedly stealing 280 rupees. Is this humanity of the so-called police?<br /><br /></span><span id="lblStory" class="StoryText">A day after the top cop of Uttar Pradesh camped at her home all day, trying to do damage control. </span>After all this only <span id="lblStory" class="StoryText">two officers had been suspended and what about the others.<br /><br /></span><span id="lblStory" class="StoryText">The sub inspector who actually hit her was sent to jail. His senior police was let off on bail. I am not able to understand that, what the morality of the so called </span><span id="lblStory" class="StoryText"></span>policemen are having . The government has appointed them to protect, not to threat or beat. The child is of only nine years, what she knows about the stealing. If she accepted that she took the money, even though they don't have any right to beat the child like hell. This is ferociousness.<br /><br />This inhuman treatment should be protested by all people and NGOs. The Child organization should protest against this inhumanity. I profoundly hurt with this incident. <span id="lblStory" class="StoryText">The National Commission for Protection of Child Rights (NCPCR) wants to use this case as an example of how not to deal with children.<br /><br /></span><span id="lblStory" class="StoryText">It's not that laws are not there to protect the children. Among others, India is a signatory of the UN Convention on Protection of Child Rights.</span><span id="lblStory" class="StoryText"> The policemen need to be aware that children have rights too. Just saying sorry isn't enough. An FIR should be filed against these policemen.<br /><br /><br /></span>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-63936436204913459692009-02-03T00:11:00.000-08:002009-02-03T00:36:04.575-08:00Mangalore Incident<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUPy_igDHKV3-F6Zq6_Hb3e06PdWpano7xcLoEJaWRNmSb5gKVTt6NLCjZT3Wh29tkX9lSIig9ULVbzknvB_ii8okAY8fLbfMSb8qYXz-RxvJxf8i9PxDYZVieARWSs30rGXJeyqW6pNUD/s1600-h/mangaloreattack.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 160px; height: 160px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUPy_igDHKV3-F6Zq6_Hb3e06PdWpano7xcLoEJaWRNmSb5gKVTt6NLCjZT3Wh29tkX9lSIig9ULVbzknvB_ii8okAY8fLbfMSb8qYXz-RxvJxf8i9PxDYZVieARWSs30rGXJeyqW6pNUD/s320/mangaloreattack.jpg" alt="" id="BLOGGER_PHOTO_ID_5298483478069788450" border="0" /></a><br />The shameful act done by some unsocial element. The attack on young women in a pub in Mangalore is nothing but the work of frustrated elements in our society.<br /><br /><span id="ctl00_ContentPlaceHolder1_DlstNewsDtls_ctl00_LblDtls">Exactly a week after the incident - all the 27 arrested in the Mangalore molestation case - walk free. A local court in Mangalore on Saturday (January 31) granted bail to all the 27 Sri Rama Sene activists arrested in connection with the Mangalore pub attack. </span><br /><br />The so-called moral brigade is just a charade to vent their frustrations in life. If they think they are "protectors" of Indian culture, they should do what ever they feel using legal means.<br /><br />They can approach the courts to have all bars and pubs closed because they are also not a part of Indian culture. If they want to preserve Indian culture, they should be wearing only dhoti-kurtas and not shirts and trousers as they are not part of our culture.<br /><br />This is not done. A handful of people take us for a ride and the rest of he public stand and watch the show. Shame on us!<br /><br />The police should round up these people and should have the same group of women beat these men in full public view. If this happens a couple of times, I am sure nobody will dare to repeat their shameful act.Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-78323872065856539432009-02-01T12:16:00.000-08:002009-02-01T12:29:24.751-08:00First Indian woman Grand Slam winner<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnE6Wm4ZfNHTxeYsFzkhRbUDzi7hp95crmWElbTtJdfVIfuisKxvMhh_DR9YdWiKYvLK_6_hjDgv_G-Fz8gLzakY9sdVBZN095LlLA-L-XFyGWrJGnmAdK1Drj_XL_bEtW5RRjG1uq2Pox/s1600-h/18081.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 236px; height: 279px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnE6Wm4ZfNHTxeYsFzkhRbUDzi7hp95crmWElbTtJdfVIfuisKxvMhh_DR9YdWiKYvLK_6_hjDgv_G-Fz8gLzakY9sdVBZN095LlLA-L-XFyGWrJGnmAdK1Drj_XL_bEtW5RRjG1uq2Pox/s320/18081.jpg" alt="" id="BLOGGER_PHOTO_ID_5297928165501533522" border="0" /></a><br />The feeling of creating history has started to sink in and Sania Mirza, who today became the first Indian woman Grand Slam winner, says the way the new season has started, Indian tennis is definitely in for some good time ahead. The 22-year-old Hyderabadi ace said she is not only "enjoying" the moment of but also hoping that this feat of her, together with Mahesh Bhupathi, will further provide fillip to the game in the country. <br /><p> "It took a few minutes to believe (that I have won my first Grand Slam title). It's great to be a Grand Slam winner.</p><p> I am at the airport and enjoying the moment. It's a dream come true," Sania told PTI from Melbourne as she prepared to flying home back.</p><p> Sania reckoned the last few weeks have been amazing for Indian tennis and it all started with the rise of Somdev Devavrman who reached final of Chennai Open. "Of course it was a great start with Somdev, then Yuki won yesterday and we won today.</p><p> It's great to beginning to the year and I hope Indian tennis gets more fillip from these feats," she said. Sania looked much more impressive this year and she combined excellently with Bhupathi throughout the tournament.</p>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-6235387737012230672009-02-01T12:13:00.000-08:002009-02-01T12:15:24.532-08:00Diary of Barack Obama's desi roommate<p>The ongoing search for all photos and documents from President <img alt="diary.jpg" src="http://www.sepiamutiny.com/sepia/archives/diary.jpg" style="float: right;" width="200" height="150" /> Obama’s past has turned up a diary that his desi roommate kept in the early 1980s. Some of the entries are quite revealing:</p> <p><strong>Aug. 28, 1981:</strong> Barack and I went searching for furniture today. We found a couch that someone had dumped on the street. It doesn’t look too bad, once we turned the cushions over. It doesn’t smell bad either, once Barack sprayed it with his <a href="http://en.wikipedia.org/wiki/Brut_%28cologne%29"></a>Brut.</p> <p><strong>Sept. 14, 1981:</strong> Barack and I have been eating pizza, macaroni and cheese, and Ramen noodles for dinner. But today, I decided to make chicken karahi for a change. Barack tasted it and said, “Mmmm … This is a good change. Did I tell you how much I believe in change?”</p> <p><strong>Oct. 2, 1981:</strong> I tried to get Barack to give up cigarettes today. I said to him, “Why smoke cigarettes when you can smoke pot?” But it didn’t work. Poor guy. He really needs some help.</p> <p><strong>Nov. 13, 1981:</strong> Barack is a little too square. I’m trying to get him to be more stylish, more cool. Yesterday, I took him to see <em>Sholay</em> at a friend’s house, hoping that Amitabh Bachchan’s style would rub off on him. And today, Barack is walking around wearing a wide-collared shirt and saying, “Tera naam kya hai, Basanti?”</p> <p><strong>Nov. 20, 1981:</strong> Barack is such a dreamer. He talks about being leader of America one day. I told him that he needs to shoot for something more realistic, such as leader of the church choir. I mean, the day a black man becomes leader of America is the day I need to give up weed.</p> <div id="a005607more"><div id="more"> <p><strong>Dec. 11, 1981:</strong> I spent the entire morning teaching Barack how to pronounce Pakistan. He kept saying “Pack-he-stan.” He finally got it right though. In a few days, we’ll try it again and this time without the rubber band on his tongue.</p> <p><strong>Jan. 14, 1981:</strong> I wish I was as smart as Barack. His brain is like a sponge. Mine is like a stone. When we go to nightclubs, he doesn’t have to write any phone numbers down. Neither do I, but that’s another story.</p> <p><strong>March 3, 1982:</strong> Barack is concerned about all the homeless people in the city. He says he wants to show them how they can help themselves. “It’s a good idea,” I told him. “Just do it on the street, not in our apartment. I don’t want them helping themselves here.”</p> <p><strong>April 22, 1982:</strong> Barack and I are really into the party scene. I’m always ready to go to a party and he’s always recruiting for one. </p> <p><strong>May 8, 1982:</strong> Barack dragged me along to the basketball court this evening. Some other guys were there too. Barack and another guy picked teams. I was the worst player there, but Barack picked me first. On the way home, he said, “Winning isn’t everything. Besides, none of those other guys knows how to make chicken karahi.”</p> </div></div>Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.comtag:blogger.com,1999:blog-5335585927093584174.post-4897190102079677792009-02-01T10:03:00.000-08:002009-02-01T12:40:59.044-08:00My First Blog.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQozKgIbXqLJHXuJFIhZ7Dk_LlQ3XnAPpkXfU0yFcjLKtcft5sJjM3RrSjjsqI9SyMDweIU4_ttZaHSw3E4zvKmD1W_eB5-Mn8-vMcbWvbDVBNdOlub_pkI1N3XPVVK2Y47UPOKwBt_BYN/s1600-h/wondering.bmp"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 161px; height: 171px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQozKgIbXqLJHXuJFIhZ7Dk_LlQ3XnAPpkXfU0yFcjLKtcft5sJjM3RrSjjsqI9SyMDweIU4_ttZaHSw3E4zvKmD1W_eB5-Mn8-vMcbWvbDVBNdOlub_pkI1N3XPVVK2Y47UPOKwBt_BYN/s320/wondering.bmp" alt="" id="BLOGGER_PHOTO_ID_5297931357545253986" border="0" /></a><br /><span style="color: rgb(0, 0, 102); font-weight: bold;font-family:georgia;" >Hello Every One....</span><br /><br /><span style="color: rgb(102, 102, 102);">I thought a lot about, what should i write in my first blog. I could not find any thing in my mind, as i had been thinking form past 2-3 hours. I have searched on Google, what should i write in my first blog, but all of was a vain attempt.</span><br /><br />Frankly speaking, i was not interested in writing blogs. I always scared of writing. Once i had tried to write diary( after 10+2 ) but after writing 2 to 3 pages, i got fed up of writing, so i quit that.<br /><br />Even some days ago when the blog site had started and every one was writing their blog, that time i was thinking what is all this fuss!! But now i realized that it is a good way to express your thought, experience, knowledge and not least but most important, happenings around us or in the world.<br /><br />I am very inspired of this quotes, this really speaks when you read. you will also think of what it speaks.<br /><br /><span style="font-weight: bold; color: rgb(51, 0, 153);">"Your profession is not what brings home your paycheck. Your profession is what you were put on earth to do. With such passion and such intensity that it becomes spiritual in calling."</span> By-<b>Leo Buscaglia</b><br /><br />Dr. <b>Felice Leonardo Buscaglia</b> Ph.D. (31 March 1924 of Italian descent – 11 June 1998) was a professor in the Department of Special Education at the University of Southern California. He was a graduate of Theodore Roosevelt High School (Los Angeles).<br /><br />At last but not least, i will thank all of you who have given their valuable time to read this blog. In future, i will be posting important stuffs and happening news around the us.<br /><br />Thank You.<br /><br />Regards,<br />Divyalok Suman.Divyalok Sumanhttp://www.blogger.com/profile/09343190886000591475noreply@blogger.com