29.01.2014 Views

6-J2ME-NETWORKING-P1

6-J2ME-NETWORKING-P1

6-J2ME-NETWORKING-P1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Review of HTTP- Request and Responses<br />

HTTP is built around requests and responses<br />

Request and responses have two parts: headers<br />

and content (message-body in the specs)<br />

If you type a URL into your browser, the<br />

browser creates an HTTP request and sends it<br />

to a server<br />

The server finds the requested resource and<br />

sends it back in an HTTP response<br />

The response headers describing things like the<br />

type of web server, the file type of the response,<br />

the length of the response and other info<br />

The response content is the file data<br />

Let us see what is exchanged with http://websniffer.net/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!