📄 http.txt
字号:
Humanities</b></a></font><br><a href=r/li>Literature</a>,
<a href=r/ph>Photography</a>...<br><br><font size=3 face=arial><a
href=r/bu><b>Business & Economy</b></a></font><br><a href=r/co>Companies</a>,
<a href=r/fi>Finance</a>,
<a href=r/jo>Jobs</a>...<br><br><font size=3 face=arial><a
href=r/ci><b>Computers & Internet</b></a></font><br><a href=r/in>Internet</a>,
<a href=r/ww>WWW</a>,
<a href=r/sf>Software</a>,
<a href=r/ga>Games</a>...<br><br><font size=3 face=arial><a
href=r/ed><b>Education</b></a></font><br><a href=r/un>College and
University</a>,
<a href=r/k2>K-12</a>...<br><br><font size=3 face=arial><a
href=r/en><b>Entertainment</b></a></font><br><a href=r/cl>Cool Links</a>,
<a href=r/mo>Movies</a>,
<a href=r/hu>Humor</a>,
<a href=r/mu>Music</a>...<br><br><font size=3 face=arial><a
href=r/go><b>Government</b></a></font><br><a href=r/el>Elections</a>,
<a href=r/mi>Military</a>,
<a href=r/la>Law</a>,
<a href=r/tx>Taxes</a>...<br><br><font size=3 face=arial><a
href=r/he><b>Health</b></a></font><br><a href=r/md>Medicine</a>,
<a href=r/ds>Diseases</a>,
<a href=r/dg>Drugs</a>,
<a href=r/ft>Fitness</a>...</small></td><td valign=top nowrap><small><font
size=3 face=arial><a href=r/nm><b>News & Media</b></a></font><br><a
href=r/fc>Full Coverage</a>,
<a href=r/nw>Newspapers</a>,
<a href=r/tv>TV</a>...<br><br><font size=3 face=arial><a
href=r/rs><b>Recreation
& Sports</b></a></font><br><a href=r/sp>Sports</a>,
<a href=r/tr>Travel</a>,
<a href=r/au>Autos</a>,
<a href=r/od>Outdoors</a>...<br><br><font size=3 face=arial><a
href=r/rf><b>Reference</b></a></font><br><a href=r/lb>Libraries</a>,
<a href=r/dc>Dictionaries</a>,
<a href=r/qt>Quotations</a>...<br><br><font size=3 face=arial><a
href=r/re><b>Regional</b></a></font><br><a href=r/ct>Countries</a>,
<a href=r/rg>Regions</a>,
<a href=r/us>US States</a>...<br><br><font size=3 face=arial><a
href=r/sc><b>Science</b></a></font><br><a href=r/am>Animals</a>,
<a href=r/as>Astronomy</a>,
<a href=r/eg>Engineering</a>...<br><br><font size=3 face=arial><a
href=r/ss><b>Social Science</b></a></font><br><a href=r/ac>Archaeology</a>,
<a href=r/ec>Economics</a>,
<a href=r/lg>Languages</a>...<br><br><font size=3 face=arial><a
href=r/cu><b>Society & Culture</b></a></font><br><a href=r/pe>People</a>,
<a href=r/ev>Environment</a>,
<a href=r/rl>Religion</a>...</small></td></tr></table></td>
<td align=right valign=top bgcolor=dcdcdc width=155><table border=0
cellspacing=1 width="100%"><tr><td align=center bgcolor=ffffcc nowrap
colspan=2><table border=0 cellspacing=0 cellpadding=0 width=120><tr><td
align=center><font face=arial size=2><b>In the
News</b></font></td></tr></table></td></tr><tr><td
valign=top><b>·</b></td><td><small><a
href="/homer/?http://fullcoverage.yahoo.com/fc/world/Elian_Gonzalez/">Reno
says
Elian to be returned to father</a></small></td></tr><tr><td
valign=top><b>·</b></td><td><small><a
href="/homer/?http://fullcoverage.yahoo.com/Full_Coverage/World/Zimbabwe/
">Zimba
bwe land seizures continue</a></small></td></tr><tr><td
valign=top><b>·</b></td><td><small><a
href="/homer/?http://sports.yahoo.com/pga/">The Masters</a>, <a
href="/homer/?http://sports.yahoo.com/mlb/">MLB</a>, <a
href="/homer/?http://sports.yahoo.com/nba/">NBA</a></small></td></tr><tr><td
align=right colspan=2><a href=r/xn><small>more...</small></a></td></tr><tr><td
align=center bgcolor=ffffcc colspan=2><font face=arial
size=2><b>Marketplace</b></font></td></tr><tr><td
valign=top><b>·</b></td><td><small><a
href="/homer/?http://taxes.yahoo.com/">Y! Tax Center</a> - tax guide, online
filing, and more</small></td></tr><tr><td
valign=top><b>·</b></td><td><small><a href=/homer/?http://b2b.yahoo.com
>Y!
Business Marketplace</a> - products for all
industries</small></td></tr><tr><td
valign=top><b>·</b></td><td><small>Free <a
href="/homer/?http://www.bluelight.com/isp.html">56K Internet
Access</a></small></td></tr><tr><td valign=top><b>·</b></td><td><small><a
href="/homer/?http://bills.yahoo.com/">Yahoo! Bill Pay</a> - free 3-month
trial
</small></td></tr><tr><td align=right colspan=2><a
href=r/xm><small>more...</small></a></td></tr><tr><td align=center
bgcolor=ffffcc colspan=2><font face=arial size=2><b>Inside
Yahoo!</b></font></td></tr><tr><td valign=top><b>·</b></td><td><small><a
href="/homer/?http://movies.yahoo.com">Y! Movies</a> - showtimes, reviews,
info</small></td></tr><tr><td valign=top><b>·</b></td><td><small><a
href="/homer/?http://photos.yahoo.com/">Yahoo! Photos</a> - upload, share, and
print pictures</small></td></tr><tr><td
valign=top><b>·</b></td><td><small>Play free <a
href="/homer/?http://baseball.fantasysports.yahoo.com/baseball/">Fantasy
Baseball</a></small></td></tr><tr><td
valign=top><b>·</b></td><td><small><a
href="/homer/?http://geocities.yahoo.com/home/">Yahoo! GeoCities</a> - build
your free home page</small></td></tr><tr><td align=right colspan=2><a
href=r/xi><small>more...</small></a></td></tr></table></td></tr></table>
<table border=0 cellspacing=0 width=600><tr><td bgcolor=339933><table border=0
cellspacing=0 cellpadding=0><tr><td
height=2></td></tr></table></td></tr></table>
</form><form action=http://search.local.yahoo.com/zipsearch><table border=0
cellspacing=4 cellpadding=0><tr><td align=right valign=top
nowrap><small><b>World Yahoo!s</b></small></td><td></td><td valign=top
colspan=2><small><i>Europe</i> :
<a href=r/dk>Denmark</a> -
<a href=r/fr>France</a> -
<a href=r/de>Germany</a> -
<a href=r/it>Italy</a> -
<a href=r/no>Norway</a> -
<a href=r/es>Spain</a> -
<a href=r/se>Sweden</a> -
<a href=r/uk>UK & Ireland</a><br><i>Pacific Rim</i> :
<a href=r/ai>Asia</a> -
<a href=r/an>Australia & NZ</a> -
<a href=r/cc><b>China</b></a> -
<a href=r/cn>Chinese</a> -
<a href=r/hk>HK</a> -
<a href=r/jp>Japan</a> -
<a href=r/kr>Korea</a> -
<a href=r/sg>Singapore</a> -
<a href=r/tw>Taiwan</a><br><i>Americas</i> :
<a href=r/ag><b>Argentina</b></a> -
<a href=r/br>Brazil</a> -
<a href=r/cd>Canada</a> -
<a href=r/mx>Mexico</a> -
<a href=r/ep>Spanish</a></small></td></tr><tr><td align=right
nowrap><small><b>Yahoo! Get Local</b></small></td><td></td><td
nowrap><small><a
href=r/lo>LA</a> -
<a href=r/ny>NYC</a> -
<a href=r/ba>SF Bay</a> -
<a href=r/ch>Chicago</a> -
<a href=r/mm>more...</a> </small></td><td nowrap><small><input
name=q size=5 maxlength=5> <input type=submit value="Enter Zip
Code"></small></td></tr><tr><td align=right valign=top
nowrap><small><b>Other</b></small></td><td></td><td valign=top
colspan=2><small><a href=r/ya>Autos</a> -
<a href=r/em>Careers</a> -
<a href=r/di>Digital</a> -
<a href=r/ye>Entertainment</a> -
<a href=r/le><b>Event Guide</b></a> -
<a href=r/gr>Greetings</a> -
<a href=r/yh>Health</a> -
<a href=r/iv><b>Invites</b></a> -
<a href=r/ne>Net Events</a><br><a href=r/ms>Message Boards</a> -
<a href=r/mv>Movies</a> -
<a href=r/rk>Music</a> -
<a href=r/yr>Real Estate</a> -
<a href=r/sb>Small Business</a> -
<a href=r/il>Y! Internet Life</a> -
<a href=r/yg>Yahooligans!</a></small></td></tr></table></form><table border=0
cellspacing=0 width=600><tr><td bgcolor=339933><table border=0 cellspacing=0
cellpadding=0><tr><td height=2></td></tr></table></td></tr></table><table
border=0 cellspacing=6 cellpadding=0><tr><td align=right><a
href=r/vs><small>Yahoo! prefers</small></a></td><td><a href=r/vs><img width=37
height=23 border=0
src=http://a1.g.a.yimg.com/7/1/31/000/us.yimg.com/a/vi/visa/sm.gif
></a></td></tr
></table><small><a href=r/ad>How to Suggest a Site</a> -
<a href=r/cp>Company Info</a> -
<a href=r/pv>Privacy Policy</a> -
<a href=r/ts>Terms of Service</a> -
<a href=r/cb>Contributors</a> -
<a href=r/hr>Openings at Yahoo!</a><p>Copyright © 2000 Yahoo! Inc. All
rights reserved.<br><a href=r/cy>Copyright
Policy</a></small></center></body></html>
The get method gives the HTML source of the document requested.It seems just
as if you are seeing the source by clicking View> Source.
Similiarly you can see what happens when you issue the 'PUT' and 'Head'
methods.Just replace 'Get' with the Method that you want to use.For
Example,
head / http/1.1 and put/ http/1.1
****************
Hacking Truth: Let's go back to the response that we got from the HTTP daemon
once the HTTP Get method was okayed at Yahoo.The first line of the response
was:
HTTP/1.0 200 OK
Now what does this 200 signify? Well the '200' is called the status
code.Whenever you give the server a HTTP command, it processes the command and
accrodingly displays a status code.A status code is a 3 digit code in the form
of xxx. Status codes start from 1xx to 5xx.I am not sure what the 1xx series
signifies as they are rarely used.The 2xx series signify a succssful
completion of the HTTP command given.The 3xx series signify errors due to
moving of documents.The 4xx series signify errors caused at browser side and
finally the 5xx series signify errors at the server side.
The most common status code that you come across, but may not have ever see is
the 200 OK status code.Each time you are able to see a page on the browser
successfully, the browser has been sent this status code by the HTTP daemon.
The most common errors that you might come across and actually see would be
the 404 Error---Not Found. This error emssage means that the Url that you
tying to access is not found, it has either been moved or has been deleted or
the linking of the web pages itself has not been done properly.I can go to the
up directory to look for the exact new changed URL.
***************
Ankit Fadia
ankit@bol.net.in
To receive more tutorials on Hacking, Perl, C++ and Viruses/Trojans join my
mailing list:
Send an email to programmingforhackers-subscribe@egroups.com to join it.
Visit my Site to view all tutorials written by me at:
http://www.crosswinds.net/~hackingtruths
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -