home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 53 74 | 61 6e 64 61 72 64 20 4d |ts of St|andard M|
|000000b0| 6f 64 75 6c 65 20 75 72 | 6c 6c 69 62 3c 2f 54 49 |odule ur|llib</TI|
|000000c0| 54 4c 45 3e 0a 0a 3c 4d | 45 54 41 20 48 54 54 50 |TLE>..<M|ETA HTTP|
|000000d0| 2d 45 51 55 49 56 3d 22 | 43 6f 6e 74 65 6e 74 2d |-EQUIV="|Content-|
|000000e0| 54 79 70 65 22 20 43 4f | 4e 54 45 4e 54 3d 22 74 |Type" CO|NTENT="t|
|000000f0| 65 78 74 2f 68 74 6d 6c | 3b 20 63 68 61 72 73 65 |ext/html|; charse|
|00000100| 74 3d 75 74 66 2d 38 22 | 3e 0a 3c 4d 45 54 41 20 |t=utf-8"|>.<META |
|00000110| 4e 41 4d 45 3d 22 76 69 | 65 77 70 6f 72 74 22 20 |NAME="vi|ewport" |
|00000120| 43 4f 4e 54 45 4e 54 3d | 22 77 69 64 74 68 3d 64 |CONTENT=|"width=d|
|00000130| 65 76 69 63 65 2d 77 69 | 64 74 68 2c 20 69 6e 69 |evice-wi|dth, ini|
|00000140| 74 69 61 6c 2d 73 63 61 | 6c 65 3d 31 2e 30 22 3e |tial-sca|le=1.0">|
|00000150| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 47 65 6e |.<META N|AME="Gen|
|00000160| 65 72 61 74 6f 72 22 20 | 43 4f 4e 54 45 4e 54 3d |erator" |CONTENT=|
|00000170| 22 4c 61 54 65 58 32 48 | 54 4d 4c 20 76 32 30 32 |"LaTeX2H|TML v202|
|00000180| 32 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |2">..<LI|NK REL="|
|00000190| 53 54 59 4c 45 53 48 45 | 45 54 22 20 48 52 45 46 |STYLESHE|ET" HREF|
|000001a0| 3d 22 6c 69 62 75 72 6c | 6c 69 62 2e 63 73 73 22 |="liburl|lib.css"|
|000001b0| 3e 0a 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 70 72 |>..<LINK| REL="pr|
|000001c0| 65 76 69 6f 75 73 22 20 | 48 52 45 46 3d 22 6c 69 |evious" |HREF="li|
|000001d0| 62 75 72 6c 6c 69 62 5f | 6d 6e 2e 68 74 6d 6c 22 |burllib_|mn.html"|
|000001e0| 3e 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 75 70 22 |>.<LINK |REL="up"|
|000001f0| 20 48 52 45 46 3d 22 6c | 69 62 75 72 6c 6c 69 62 | HREF="l|iburllib|
|00000200| 5f 6d 6e 2e 68 74 6d 6c | 22 3e 0a 3c 2f 48 45 41 |_mn.html|">.</HEA|
|00000210| 44 3e 0a 20 0a 3c 42 4f | 44 59 20 62 67 63 6f 6c |D>. .<BO|DY bgcol|
|00000220| 6f 72 3d 22 23 66 66 66 | 66 66 66 22 20 74 65 78 |or="#fff|fff" tex|
|00000230| 74 3d 22 23 30 30 30 30 | 30 30 22 20 6c 69 6e 6b |t="#0000|00" link|
|00000240| 3d 22 23 39 39 34 34 45 | 45 22 20 76 6c 69 6e 6b |="#9944E|E" vlink|
|00000250| 3d 22 23 30 30 30 30 66 | 66 22 20 61 6c 69 6e 6b |="#0000f|f" alink|
|00000260| 3d 22 23 30 30 66 66 30 | 30 22 3e 0a 0a 3c 48 31 |="#00ff0|0">..<H1|
|00000270| 3e 3c 41 20 49 44 3d 22 | 53 45 43 54 49 4f 4e 30 |><A ID="|SECTION0|
|00000280| 30 30 31 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |00100000|00000000|
|00000290| 30 30 30 22 3e 0a 53 74 | 61 6e 64 61 72 64 20 4d |000">.St|andard M|
|000002a0| 6f 64 75 6c 65 20 75 72 | 6c 6c 69 62 3c 2f 41 3e |odule ur|llib</A>|
|000002b0| 0a 3c 2f 48 31 3e 0a 75 | 72 6c 6c 69 62 0a 3c 41 |.</H1>.u|rllib.<A|
|000002c0| 20 49 44 3d 22 33 22 3e | 3c 2f 41 3e 0a 3c 41 20 | ID="3">|</A>.<A |
|000002d0| 49 44 3d 22 34 22 3e 3c | 2f 41 3e 0a 3c 41 20 49 |ID="4"><|/A>.<A I|
|000002e0| 44 3d 22 35 22 3e 3c 2f | 41 3e 0a 0a 3c 50 3e 0a |D="5"></|A>..<P>.|
|000002f0| 0a 3c 50 3e 0a 54 68 69 | 73 20 6d 6f 64 75 6c 65 |.<P>.Thi|s module|
|00000300| 20 70 72 6f 76 69 64 65 | 73 20 61 20 68 69 67 68 | provide|s a high|
|00000310| 2d 6c 65 76 65 6c 20 69 | 6e 74 65 72 66 61 63 65 |-level i|nterface|
|00000320| 20 66 6f 72 20 66 65 74 | 63 68 69 6e 67 20 64 61 | for fet|ching da|
|00000330| 74 61 20 61 63 72 6f 73 | 73 0a 74 68 65 20 57 6f |ta acros|s.the Wo|
|00000340| 72 6c 64 2d 57 69 64 65 | 20 57 65 62 2e 20 20 49 |rld-Wide| Web. I|
|00000350| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 2c 20 74 68 |n partic|ular, th|
|00000360| 65 20 75 72 6c 6f 70 65 | 6e 20 66 75 6e 63 74 69 |e urlope|n functi|
|00000370| 6f 6e 20 69 73 0a 73 69 | 6d 69 6c 61 72 20 74 6f |on is.si|milar to|
|00000380| 20 74 68 65 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 | the bui|lt-in fu|
|00000390| 6e 63 74 69 6f 6e 20 6f | 70 65 6e 2c 20 62 75 74 |nction o|pen, but|
|000003a0| 20 61 63 63 65 70 74 73 | 20 55 52 4c 73 0a 28 55 | accepts| URLs.(U|
|000003b0| 6e 69 76 65 72 73 61 6c | 20 52 65 73 6f 75 72 63 |niversal| Resourc|
|000003c0| 65 20 4c 6f 63 61 74 6f | 72 73 29 20 69 6e 73 74 |e Locato|rs) inst|
|000003d0| 65 61 64 20 6f 66 20 66 | 69 6c 65 6e 61 6d 65 73 |ead of f|ilenames|
|000003e0| 2e 20 20 53 6f 6d 65 20 | 72 65 73 74 72 69 63 74 |. Some |restrict|
|000003f0| 69 6f 6e 73 0a 61 70 70 | 6c 79 20 26 6d 64 61 73 |ions.app|ly &mdas|
|00000400| 68 3b 20 69 74 20 63 61 | 6e 20 6f 6e 6c 79 20 6f |h; it ca|n only o|
|00000410| 70 65 6e 20 55 52 4c 73 | 20 66 6f 72 20 72 65 61 |pen URLs| for rea|
|00000420| 64 69 6e 67 2c 20 61 6e | 64 20 6e 6f 20 73 65 65 |ding, an|d no see|
|00000430| 6b 20 6f 70 65 72 61 74 | 69 6f 6e 73 0a 61 72 65 |k operat|ions.are|
|00000440| 20 61 76 61 69 6c 61 62 | 6c 65 2e 0a 0a 3c 50 3e | availab|le...<P>|
|00000450| 0a 69 74 20 64 65 66 69 | 6e 65 73 20 74 68 65 20 |.it defi|nes the |
|00000460| 66 6f 6c 6c 6f 77 69 6e | 67 20 70 75 62 6c 69 63 |followin|g public|
|00000470| 20 66 75 6e 63 74 69 6f | 6e 73 3a 0a 0a 3c 50 3e | functio|ns:..<P>|
|00000480| 0a 3c 42 52 3e 0a 3c 49 | 4d 47 0a 20 20 53 54 59 |.<BR>.<I|MG. STY|
|00000490| 4c 45 3d 22 68 65 69 67 | 68 74 3a 20 31 39 36 2e |LE="heig|ht: 196.|
|000004a0| 32 35 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |25ex; ve|rtical-a|
|000004b0| 6c 69 67 6e 3a 20 2d 30 | 2e 37 30 65 78 3b 20 22 |lign: -0|.70ex; "|
|000004c0| 20 53 52 43 3d 22 69 6d | 67 31 2e 70 6e 67 22 0a | SRC="im|g1.png".|
|000004d0| 20 41 4c 54 3d 22 5c 62 | 65 67 69 6e 7b 66 75 6e | ALT="\b|egin{fun|
|000004e0| 63 64 65 73 63 7d 7b 75 | 72 6c 6f 70 65 6e 7d 7b |cdesc}{u|rlopen}{|
|000004f0| 75 72 6c 7d 0a 4f 70 65 | 6e 20 61 20 6e 65 74 77 |url}.Ope|n a netw|
|00000500| 6f 72 6b 20 6f 62 6a 65 | 63 74 20 64 65 6e 6f 74 |ork obje|ct denot|
|00000510| 65 64 20 62 79 20 61 20 | 55 52 4c 20 66 6f 72 20 |ed by a |URL for |
|00000520| 72 65 61 64 69 6e 2e 2e | 2e 0a 2e 2e 2e 73 20 74 |readin..|.....s t|
|00000530| 68 69 73 20 69 73 20 48 | 54 54 50 29 2e 20 53 65 |his is H|TTP). Se|
|00000540| 65 20 74 68 65 20 64 65 | 73 63 72 69 70 74 69 6f |e the de|scriptio|
|00000550| 6e 20 6f 66 20 74 68 65 | 0a 5c 63 6f 64 65 7b 72 |n of the|.\code{r|
|00000560| 66 63 38 32 32 7d 20 6d | 6f 64 75 6c 65 2e 0a 5c |fc822} m|odule..\|
|00000570| 65 6e 64 7b 66 75 6e 63 | 64 65 73 63 7d 22 3e 0a |end{func|desc}">.|
|00000580| 3c 42 52 3e 0a 0a 3c 50 | 3e 0a 3c 42 52 3e 0a 3c |<BR>..<P|>.<BR>.<|
|00000590| 49 4d 47 0a 20 20 53 54 | 59 4c 45 3d 22 68 65 69 |IMG. ST|YLE="hei|
|000005a0| 67 68 74 3a 20 32 2e 31 | 37 65 78 3b 20 76 65 72 |ght: 2.1|7ex; ver|
|000005b0| 74 69 63 61 6c 2d 61 6c | 69 67 6e 3a 20 31 37 36 |tical-al|ign: 176|
|000005c0| 2e 34 31 65 78 3b 20 22 | 20 53 52 43 3d 22 69 6d |.41ex; "| SRC="im|
|000005d0| 67 32 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 5c 62 |g2.png".| ALT="\b|
|000005e0| 65 67 69 6e 7b 66 75 6e | 63 64 65 73 63 7d 7b 75 |egin{fun|cdesc}{u|
|000005f0| 72 6c 72 65 74 72 69 65 | 76 65 7d 7b 75 72 6c 7d |rlretrie|ve}{url}|
|00000600| 0a 43 6f 70 79 20 61 20 | 6e 65 74 77 6f 72 6b 20 |.Copy a |network |
|00000610| 6f 62 6a 65 63 74 20 64 | 65 6e 6f 74 65 64 20 62 |object d|enoted b|
|00000620| 79 20 61 20 55 52 4c 20 | 74 6f 20 61 20 6c 2e 2e |y a URL |to a l..|
|00000630| 2e 0a 2e 2e 2e 6f 73 73 | 69 62 6c 79 0a 63 61 63 |.....oss|ibly.cac|
|00000640| 68 65 64 29 2e 20 45 78 | 63 65 70 74 69 6f 6e 73 |hed). Ex|ceptions|
|00000650| 20 61 72 65 20 74 68 65 | 20 73 61 6d 65 20 61 73 | are the| same as|
|00000660| 20 66 6f 72 20 5c 63 6f | 64 65 7b 75 72 6c 6f 70 | for \co|de{urlop|
|00000670| 65 6e 28 29 7d 2e 0a 5c | 65 6e 64 7b 66 75 6e 63 |en()}..\|end{func|
|00000680| 64 65 73 63 7d 22 3e 0a | 3c 42 52 3e 0a 0a 3c 50 |desc}">.|<BR>..<P|
|00000690| 3e 0a 3c 42 52 3e 0a 3c | 49 4d 47 0a 20 20 53 54 |>.<BR>.<|IMG. ST|
|000006a0| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 32 2e 31 |YLE="hei|ght: 2.1|
|000006b0| 37 65 78 3b 20 76 65 72 | 74 69 63 61 6c 2d 61 6c |7ex; ver|tical-al|
|000006c0| 69 67 6e 3a 20 31 37 36 | 2e 34 31 65 78 3b 20 22 |ign: 176|.41ex; "|
|000006d0| 20 53 52 43 3d 22 69 6d | 67 33 2e 70 6e 67 22 0a | SRC="im|g3.png".|
|000006e0| 20 41 4c 54 3d 22 5c 62 | 65 67 69 6e 7b 66 75 6e | ALT="\b|egin{fun|
|000006f0| 63 64 65 73 63 7d 7b 75 | 72 6c 63 6c 65 61 6e 75 |cdesc}{u|rlcleanu|
|00000700| 70 7d 7b 7d 0a 43 6c 65 | 61 72 20 74 68 65 20 63 |p}{}.Cle|ar the c|
|00000710| 61 63 68 65 20 74 68 61 | 74 20 6d 61 79 20 68 61 |ache tha|t may ha|
|00000720| 76 65 20 62 65 65 6e 20 | 62 75 69 6c 74 20 75 70 |ve been |built up|
|00000730| 20 62 79 20 70 72 65 76 | 69 6f 75 73 20 63 61 6c | by prev|ious cal|
|00000740| 6c 73 20 74 6f 0a 5c 63 | 6f 64 65 7b 75 72 6c 72 |ls to.\c|ode{urlr|
|00000750| 65 74 72 69 65 76 65 28 | 29 7d 2e 0a 5c 65 6e 64 |etrieve(|)}..\end|
|00000760| 7b 66 75 6e 63 64 65 73 | 63 7d 22 3e 0a 3c 42 52 |{funcdes|c}">.<BR|
|00000770| 3e 0a 0a 3c 50 3e 0a 3c | 42 52 3e 0a 3c 49 4d 47 |>..<P>.<|BR>.<IMG|
|00000780| 0a 20 20 53 54 59 4c 45 | 3d 22 68 65 69 67 68 74 |. STYLE|="height|
|00000790| 3a 20 32 2e 33 38 65 78 | 3b 20 76 65 72 74 69 63 |: 2.38ex|; vertic|
|000007a0| 61 6c 2d 61 6c 69 67 6e | 3a 20 31 37 36 2e 31 39 |al-align|: 176.19|
|000007b0| 65 78 3b 20 22 20 53 52 | 43 3d 22 69 6d 67 34 2e |ex; " SR|C="img4.|
|000007c0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|000007d0| 6e 7b 66 75 6e 63 64 65 | 73 63 7d 7b 71 75 6f 74 |n{funcde|sc}{quot|
|000007e0| 65 7d 7b 73 74 72 69 6e | 67 5c 6f 70 74 69 6f 6e |e}{strin|g\option|
|000007f0| 61 6c 7b 5c 2c 20 61 64 | 64 73 61 66 65 7d 7d 0a |al{\, ad|dsafe}}.|
|00000800| 52 65 70 6c 61 63 65 20 | 73 70 65 63 69 61 6c 20 |Replace |special |
|00000810| 63 68 61 72 61 63 74 65 | 72 73 20 2e 2e 2e 0a 2e |characte|rs .....|
|00000820| 2e 2e 6d 70 6c 65 3a 20 | 5c 63 6f 64 65 7b 71 75 |..mple: |\code{qu|
|00000830| 6f 74 65 28 27 2f 5c 7e | 63 6f 6e 6f 6c 6c 79 2f |ote('/\~|conolly/|
|00000840| 27 29 7d 20 79 69 65 6c | 64 73 20 5c 63 6f 64 65 |')} yiel|ds \code|
|00000850| 7b 27 2f 5c 25 37 65 63 | 6f 6e 6e 6f 6c 6c 79 2f |{'/\%7ec|onnolly/|
|00000860| 27 7d 2e 0a 5c 65 6e 64 | 7b 66 75 6e 63 64 65 73 |'}..\end|{funcdes|
|00000870| 63 7d 22 3e 0a 3c 42 52 | 3e 0a 0a 3c 50 3e 0a 3c |c}">.<BR|>..<P>.<|
|00000880| 42 52 3e 0a 3c 49 4d 47 | 0a 20 20 53 54 59 4c 45 |BR>.<IMG|. STYLE|
|00000890| 3d 22 68 65 69 67 68 74 | 3a 20 32 2e 34 35 65 78 |="height|: 2.45ex|
|000008a0| 3b 20 76 65 72 74 69 63 | 61 6c 2d 61 6c 69 67 6e |; vertic|al-align|
|000008b0| 3a 20 31 37 36 2e 32 30 | 65 78 3b 20 22 20 53 52 |: 176.20|ex; " SR|
|000008c0| 43 3d 22 69 6d 67 35 2e | 70 6e 67 22 0a 20 41 4c |C="img5.|png". AL|
|000008d0| 54 3d 22 5c 62 65 67 69 | 6e 7b 66 75 6e 63 64 65 |T="\begi|n{funcde|
|000008e0| 73 63 7d 7b 75 6e 71 75 | 6f 74 65 7d 7b 73 74 72 |sc}{unqu|ote}{str|
|000008f0| 69 6e 67 7d 0a 52 65 70 | 6c 61 63 65 20 5c 73 61 |ing}.Rep|lace \sa|
|00000900| 6d 70 7b 5c 25 78 78 7d | 20 65 73 63 61 70 65 73 |mp{\%xx}| escapes|
|00000910| 20 62 79 20 74 68 65 69 | 72 20 73 69 6e 67 6c 65 | by thei|r single|
|00000920| 2d 63 68 2e 2e 2e 0a 2e | 2e 2e 65 3a 20 5c 63 6f |-ch.....|..e: \co|
|00000930| 64 65 7b 75 6e 71 75 6f | 74 65 28 27 2f 5c 25 37 |de{unquo|te('/\%7|
|00000940| 45 63 6f 6e 6e 6f 6c 6c | 79 2f 27 29 7d 20 79 69 |Econnoll|y/')} yi|
|00000950| 65 6c 64 73 20 5c 63 6f | 64 65 7b 27 2f 5c 7e 63 |elds \co|de{'/\~c|
|00000960| 6f 6e 6e 6f 6c 6c 79 2f | 27 7d 2e 0a 5c 65 6e 64 |onnolly/|'}..\end|
|00000970| 7b 66 75 6e 63 64 65 73 | 63 7d 22 3e 0a 3c 42 52 |{funcdes|c}">.<BR|
|00000980| 3e 0a 0a 3c 50 3e 0a 52 | 65 73 74 72 69 63 74 69 |>..<P>.R|estricti|
|00000990| 6f 6e 73 3a 0a 0a 3c 50 | 3e 0a 0a 3c 55 4c 3e 0a |ons:..<P|>..<UL>.|
|000009a0| 3c 4c 49 3e 43 75 72 72 | 65 6e 74 6c 79 2c 20 6f |<LI>Curr|ently, o|
|000009b0| 6e 6c 79 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |nly the |followin|
|000009c0| 67 20 70 72 6f 74 6f 63 | 6f 6c 73 20 61 72 65 20 |g protoc|ols are |
|000009d0| 73 75 70 70 6f 72 74 65 | 64 3a 20 48 54 54 50 2c |supporte|d: HTTP,|
|000009e0| 20 28 76 65 72 73 69 6f | 6e 73 0a 30 2e 39 20 61 | (versio|ns.0.9 a|
|000009f0| 6e 64 20 31 2e 30 29 2c | 20 47 6f 70 68 65 72 20 |nd 1.0),| Gopher |
|00000a00| 28 62 75 74 20 6e 6f 74 | 20 47 6f 70 68 65 72 2d |(but not| Gopher-|
|00000a10| 2b 29 2c 20 46 54 50 2c | 20 61 6e 64 20 6c 6f 63 |+), FTP,| and loc|
|00000a20| 61 6c 20 66 69 6c 65 73 | 2e 0a 3c 41 20 49 44 3d |al files|..<A ID=|
|00000a30| 22 36 31 22 3e 3c 2f 41 | 3e 0a 3c 41 20 49 44 3d |"61"></A|>.<A ID=|
|00000a40| 22 36 32 22 3e 3c 2f 41 | 3e 0a 3c 41 20 49 44 3d |"62"></A|>.<A ID=|
|00000a50| 22 36 33 22 3e 3c 2f 41 | 3e 0a 0a 3c 50 3e 0a 3c |"63"></A|>..<P>.<|
|00000a60| 2f 4c 49 3e 0a 3c 4c 49 | 3e 54 68 65 20 63 61 63 |/LI>.<LI|>The cac|
|00000a70| 68 69 6e 67 20 66 65 61 | 74 75 72 65 20 6f 66 20 |hing fea|ture of |
|00000a80| 75 72 6c 72 65 74 72 69 | 65 76 65 28 29 20 68 61 |urlretri|eve() ha|
|00000a90| 73 20 62 65 65 6e 20 64 | 69 73 61 62 6c 65 64 20 |s been d|isabled |
|00000aa0| 75 6e 74 69 6c 20 49 0a | 66 69 6e 64 20 74 68 65 |until I.|find the|
|00000ab0| 20 74 69 6d 65 20 74 6f | 20 68 61 63 6b 20 70 72 | time to| hack pr|
|00000ac0| 6f 70 65 72 20 70 72 6f | 63 65 73 73 69 6e 67 20 |oper pro|cessing |
|00000ad0| 6f 66 20 45 78 70 69 72 | 61 74 69 6f 6e 20 74 69 |of Expir|ation ti|
|00000ae0| 6d 65 20 68 65 61 64 65 | 72 73 2e 0a 0a 3c 50 3e |me heade|rs...<P>|
|00000af0| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 54 68 65 72 65 |.</LI>.<|LI>There|
|00000b00| 20 73 68 6f 75 6c 64 20 | 62 65 20 61 20 66 75 6e | should |be a fun|
|00000b10| 63 74 69 6f 6e 20 74 6f | 20 71 75 65 72 79 20 77 |ction to| query w|
|00000b20| 68 65 74 68 65 72 20 61 | 20 70 61 72 74 69 63 75 |hether a| particu|
|00000b30| 6c 61 72 20 55 52 4c 20 | 69 73 20 69 6e 0a 74 68 |lar URL |is in.th|
|00000b40| 65 20 63 61 63 68 65 2e | 0a 0a 3c 50 3e 0a 3c 2f |e cache.|..<P>.</|
|00000b50| 4c 49 3e 0a 3c 4c 49 3e | 46 6f 72 20 62 61 63 6b |LI>.<LI>|For back|
|00000b60| 77 61 72 64 20 63 6f 6d | 70 61 74 69 62 69 6c 69 |ward com|patibili|
|00000b70| 74 79 2c 20 69 66 20 61 | 20 55 52 4c 20 61 70 70 |ty, if a| URL app|
|00000b80| 65 61 72 73 20 74 6f 20 | 70 6f 69 6e 74 20 74 6f |ears to |point to|
|00000b90| 20 61 20 6c 6f 63 61 6c | 20 66 69 6c 65 0a 62 75 | a local| file.bu|
|00000ba0| 74 20 74 68 65 20 66 69 | 6c 65 20 63 61 6e 27 74 |t the fi|le can't|
|00000bb0| 20 62 65 20 6f 70 65 6e | 65 64 2c 20 74 68 65 20 | be open|ed, the |
|00000bc0| 55 52 4c 20 69 73 20 72 | 65 2d 69 6e 74 65 72 70 |URL is r|e-interp|
|00000bd0| 72 65 74 65 64 20 75 73 | 69 6e 67 20 74 68 65 20 |reted us|ing the |
|00000be0| 46 54 50 0a 70 72 6f 74 | 6f 63 6f 6c 2e 20 20 54 |FTP.prot|ocol. T|
|00000bf0| 68 69 73 20 63 61 6e 20 | 73 6f 6d 65 74 69 6d 65 |his can |sometime|
|00000c00| 73 20 63 61 75 73 65 20 | 63 6f 6e 66 75 73 69 6e |s cause |confusin|
|00000c10| 67 20 65 72 72 6f 72 20 | 6d 65 73 73 61 67 65 73 |g error |messages|
|00000c20| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|00000c30| 3e 54 68 65 20 75 72 6c | 6f 70 65 6e 28 29 20 61 |>The url|open() a|
|00000c40| 6e 64 20 75 72 6c 72 65 | 74 72 69 65 76 65 28 29 |nd urlre|trieve()|
|00000c50| 20 66 75 6e 63 74 69 6f | 6e 73 20 63 61 6e 20 63 | functio|ns can c|
|00000c60| 61 75 73 65 0a 61 72 62 | 69 74 72 61 72 69 6c 79 |ause.arb|itrarily|
|00000c70| 20 6c 6f 6e 67 20 64 65 | 6c 61 79 73 20 77 68 69 | long de|lays whi|
|00000c80| 6c 65 20 77 61 69 74 69 | 6e 67 20 66 6f 72 20 61 |le waiti|ng for a|
|00000c90| 20 6e 65 74 77 6f 72 6b | 20 63 6f 6e 6e 65 63 74 | network| connect|
|00000ca0| 69 6f 6e 20 74 6f 20 62 | 65 0a 73 65 74 20 75 70 |ion to b|e.set up|
|00000cb0| 2e 20 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |. This |means th|
|00000cc0| 61 74 20 69 74 20 69 73 | 20 64 69 66 66 69 63 75 |at it is| difficu|
|00000cd0| 6c 74 20 74 6f 20 62 75 | 69 6c 64 20 61 6e 20 69 |lt to bu|ild an i|
|00000ce0| 6e 74 65 72 61 63 74 69 | 76 65 0a 77 65 62 20 63 |nteracti|ve.web c|
|00000cf0| 6c 69 65 6e 74 20 75 73 | 69 6e 67 20 74 68 65 73 |lient us|ing thes|
|00000d00| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 77 69 74 68 |e functi|ons with|
|00000d10| 6f 75 74 20 75 73 69 6e | 67 20 74 68 72 65 61 64 |out usin|g thread|
|00000d20| 73 2e 0a 0a 3c 50 3e 0a | 3c 2f 4c 49 3e 0a 3c 4c |s...<P>.|</LI>.<L|
|00000d30| 49 3e 54 68 65 20 64 61 | 74 61 20 72 65 74 75 72 |I>The da|ta retur|
|00000d40| 6e 65 64 20 62 79 20 75 | 72 6c 6f 70 65 6e 28 29 |ned by u|rlopen()|
|00000d50| 20 6f 72 20 75 72 6c 72 | 65 74 72 69 65 76 65 28 | or urlr|etrieve(|
|00000d60| 29 20 69 73 20 74 68 65 | 0a 72 61 77 20 64 61 74 |) is the|.raw dat|
|00000d70| 61 20 72 65 74 75 72 6e | 65 64 20 62 79 20 74 68 |a return|ed by th|
|00000d80| 65 20 73 65 72 76 65 72 | 2e 20 20 54 68 69 73 20 |e server|. This |
|00000d90| 6d 61 79 20 62 65 20 62 | 69 6e 61 72 79 20 64 61 |may be b|inary da|
|00000da0| 74 61 20 28 65 2e 67 2e | 20 61 6e 0a 69 6d 61 67 |ta (e.g.| an.imag|
|00000db0| 65 29 2c 20 70 6c 61 69 | 6e 20 74 65 78 74 20 6f |e), plai|n text o|
|00000dc0| 72 20 28 66 6f 72 20 65 | 78 61 6d 70 6c 65 29 20 |r (for e|xample) |
|00000dd0| 48 54 4d 4c 2e 20 20 54 | 68 65 20 48 54 54 50 20 |HTML. T|he HTTP |
|00000de0| 70 72 6f 74 6f 63 6f 6c | 20 70 72 6f 76 69 64 65 |protocol| provide|
|00000df0| 73 0a 74 79 70 65 20 69 | 6e 66 6f 72 6d 61 74 69 |s.type i|nformati|
|00000e00| 6f 6e 20 69 6e 20 74 68 | 65 20 72 65 70 6c 79 20 |on in th|e reply |
|00000e10| 68 65 61 64 65 72 2c 20 | 77 68 69 63 68 20 63 61 |header, |which ca|
|00000e20| 6e 20 62 65 20 69 6e 73 | 70 65 63 74 65 64 20 62 |n be ins|pected b|
|00000e30| 79 0a 6c 6f 6f 6b 69 6e | 67 20 61 74 20 74 68 65 |y.lookin|g at the|
|00000e40| 20 43 6f 6e 74 65 6e 74 | 2d 74 79 70 65 20 68 65 | Content|-type he|
|00000e50| 61 64 65 72 2e 20 20 46 | 6f 72 20 74 68 65 20 47 |ader. F|or the G|
|00000e60| 6f 70 68 65 72 20 70 72 | 6f 74 6f 63 6f 6c 2c 0a |opher pr|otocol,.|
|00000e70| 74 79 70 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |type inf|ormation|
|00000e80| 20 69 73 20 65 6e 63 6f | 64 65 64 20 69 6e 20 74 | is enco|ded in t|
|00000e90| 68 65 20 55 52 4c 3b 20 | 74 68 65 72 65 20 69 73 |he URL; |there is|
|00000ea0| 20 63 75 72 72 65 6e 74 | 6c 79 20 6e 6f 20 65 61 | current|ly no ea|
|00000eb0| 73 79 20 77 61 79 0a 74 | 6f 20 65 78 74 72 61 63 |sy way.t|o extrac|
|00000ec0| 74 20 69 74 2e 20 20 49 | 66 20 74 68 65 20 72 65 |t it. I|f the re|
|00000ed0| 74 75 72 6e 65 64 20 64 | 61 74 61 20 69 73 20 48 |turned d|ata is H|
|00000ee0| 54 4d 4c 2c 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |TML, you| can use|
|00000ef0| 20 74 68 65 20 6d 6f 64 | 75 6c 65 0a 68 74 6d 6c | the mod|ule.html|
|00000f00| 6c 69 62 20 74 6f 20 70 | 61 72 73 65 20 69 74 2e |lib to p|arse it.|
|00000f10| 0a 3c 41 20 49 44 3d 22 | 37 31 22 3e 3c 2f 41 3e |.<A ID="|71"></A>|
|00000f20| 0a 3c 41 20 49 44 3d 22 | 37 32 22 3e 3c 2f 41 3e |.<A ID="|72"></A>|
|00000f30| 0a 3c 41 20 49 44 3d 22 | 37 33 22 3e 3c 2f 41 3e |.<A ID="|73"></A>|
|00000f40| 0a 68 74 6d 6c 6c 69 62 | 0a 0a 3c 50 3e 0a 3c 2f |.htmllib|..<P>.</|
|00000f50| 4c 49 3e 0a 3c 4c 49 3e | 41 6c 74 68 6f 75 67 68 |LI>.<LI>|Although|
|00000f60| 20 74 68 65 20 75 72 6c | 6c 69 62 20 6d 6f 64 75 | the url|lib modu|
|00000f70| 6c 65 20 63 6f 6e 74 61 | 69 6e 73 20 28 75 6e 64 |le conta|ins (und|
|00000f80| 6f 63 75 6d 65 6e 74 65 | 64 29 20 72 6f 75 74 69 |ocumente|d) routi|
|00000f90| 6e 65 73 20 74 6f 0a 70 | 61 72 73 65 20 61 6e 64 |nes to.p|arse and|
|00000fa0| 20 75 6e 70 61 72 73 65 | 20 55 52 4c 20 73 74 72 | unparse| URL str|
|00000fb0| 69 6e 67 73 2c 20 74 68 | 65 20 72 65 63 6f 6d 6d |ings, th|e recomm|
|00000fc0| 65 6e 64 65 64 20 69 6e | 74 65 72 66 61 63 65 20 |ended in|terface |
|00000fd0| 66 6f 72 20 55 52 4c 0a | 6d 61 6e 69 70 75 6c 61 |for URL.|manipula|
|00000fe0| 74 69 6f 6e 20 69 73 20 | 69 6e 20 6d 6f 64 75 6c |tion is |in modul|
|00000ff0| 65 20 75 72 6c 70 61 72 | 73 65 2e 0a 75 72 6c 70 |e urlpar|se..urlp|
|00001000| 61 72 73 65 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |arse..<P|>.</LI>.|
|00001010| 3c 2f 55 4c 3e 0a 3c 48 | 52 3e 0a 0a 3c 2f 42 4f |</UL>.<H|R>..</BO|
|00001020| 44 59 3e 0a 3c 2f 48 54 | 4d 4c 3e 0a |DY>.</HT|ML>. |
+--------+-------------------------+-------------------------+--------+--------+