"Re: http client"
Ingela Anderton
ingela@REDACTED
Wed Oct 27 11:37:07 CEST 2004
Well, most of the time it works as expected when I try it, but I
actually happened to get the same crash as you got once. I do not
yet know why, and right now I can not get it to happen again. I
suspect it might be a timing dependent bug. The parsing of the
response does not always follow the exact same path through the code,
it the depends on the rate in which the response is received.
I will look in to this.
1> application:start(inets).
ok
2> http:request(get, {"http://www.compulenta.ru/rss.xml", []}, [], []).
{ok,{{"HTTP/1.0",200,"OK"},
[{"connection","close"},
{"content-type","text/xml; charset=windows-1251"},
{"date","Wed, 27 Oct 2004 09:19:52 GMT"},
{"server","Apache/1.3.29 (Unix) mod_deflate/1.0.21 rus/PL30.19"},
{"expires","Thu, 01 Jan 1970 00:00:01 GMT"},
{"last-modified","Wed, 27 Oct 2004 09:19:52 GMT"}],
"<?xml version=\"1.0\" encoding=\"Windows-1251\"?>\n\n<rss version=\"2.0\">\n\n<channel>\n <title>Êîìïüþëåíòà</title>\n <link>http://www.compulenta.ru</link>\n <description>Íîâîñòè êîìïüþòåðíîé èíäóñòðèè, íàóêè è òåõíèêè.</description>\n <image>\n <title>Êîìïüþëåíòà</title>\n <url>http://img.compulenta.ru/clenta/i/bigtitle.gif</url>\n <link>http://www.compulenta.ru</link>\n <width>88</width>\n <height>31</height>\n </image>\n\n\n\n <item>\n <title>Ïîðòàòèâíûé ÌÐ3-ïëååð MPIO FG100 ñ äèçàéíîì ìàãíèòîëû</title>\n <link>http://www.compulenta.ru/2004/10/27/51292/?ref=rss</link>\n <description>Îò îäíîé ùåëî÷íîé áàòàðåéêè ñòàíäàðòà ÀÀ íîâèíêà ñïîñîáíà ðàáîòàòü â òå÷åíèå 43 ÷àñîâ.</description>\n <category></category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21979.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 09:02:08 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ìîùíûé íîóòáóê IBM ThinkPad G41</title>\n <link>http://www.compulenta.ru/2004/10/27/51296/?ref=rss</link>\n <description>Ëýïòîï, ïîñòðîåííûé íà áàçå ïðîöåññîðà Mobile Intel Pentium 4, ïîñòóïèò â ïðîäàæó ïî öåíå îò 1000 äîëëàðîâ ÑØÀ.</description>\n <category>Æåëåçî/Íîóòáóêè</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21981.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 08:59:18 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Apple ñäåëàëà iPod öèôðîâûì ôîòîàëüáîìîì</title>\n <link>http://www.compulenta.ru/2004/10/27/51285/?ref=rss</link>\n <description>iPod Photo ïîääåðæèâàåò JPEG, BMP, GIF, TIFF è PNG, ïîçâîëÿåò ñèíõðîíèçèðîâàòü ôîòîàëüáîìû è ñòîèò îò 500 äî 600 äîëëàðîâ.</description>\n <category></category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21973.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 08:24:05 GMT</pubDate>\n </item>\n\n\n <item>\n <title>×åðâü Huayu ïðîíèêàåò íà êîìïüþòåð ÷åðåç äûðó â Windows</title>\n <link>http://www.compulenta.ru/2004/10/27/51306/?ref=rss</link>\n <description>Âèðóñ èñïîëüçóåò óÿçâèìîñòü â ëîêàëüíîé ïîäñèñòåìå àóòåíòèôèêàöèè ïîëüçîâàòå
ëåé îïåðàöèîííûõ ñèñòåì Microsoft.</description>\n <category>Íîâîñòè áåçîïàñíîñòè</category>\n\n <pubDate>Wed, 27 Oct 2004 08:17:07 GMT</pubDate>\n </item>\n\n\n <item>\n <title>"Ñêàé Ëèíê" îòêðûëà ñåòü IMT-MC-450 â Òâåðè</title>\n <link>http://www.compulenta.ru/2004/10/27/51299/?ref=rss</link>\n <description>Ñåòü ïîñòðîåíà íà îáîðóäîâàíèè è ïðîãðàììíîì îáåñïå÷åíèè êîìïàíèè Lucent Technologies. </description>\n <category>Ðîññèéñêèé ðûíîê òåëåêîììóíèêàöèé</category>\n\n <pubDate>Wed, 27 Oct 2004 08:09:05 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Íîóòáóê iRu Stilo 3841 íà áàçå Pentium M</title>\n <link>http://www.compulenta.ru/2004/10/27/51294/?ref=rss</link>\n <description>Ïîðòàòèâíûé êîìïüþòåð îáîðóäîâàí êîìáèíèðîâàííûì ïðèâîäîì äëÿ îïòè÷åñêèõ äèñêîâ, êîíòðîëëåðîì Wi-Fi è ìíîãîôîðìàòíûì êàðò-ðèäåðîì.</description>\n <category>Æåëåçî/Íîóòáóêè</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21980.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 08:07:59 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ïÿòü íîâûõ ôîòîêàìåð îò BenQ</title>\n <link>http://www.compulenta.ru/2004/10/27/51279/?ref=rss</link>\n <description>Íîâèíêè îáëàäàþò ðàçðåøåíèåì îò 3 äî 6 ìåãàïèêñåëåé è óìåþò çàïèñûâàòü âèäåî.</description>\n <category>Æåëåçî/Öèôðîâàÿ ôîòîãðàôèÿ</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21971.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 08:07:40 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ericsson ïðîäåìîíñòðèðîâàëà óñëóãó øèðîêîïîëîñíîãî ìîáèëüíîãî äîñòóïà ïî òåõíîëîãèè HSDPA</title>\n <link>http://www.compulenta.ru/2004/10/27/51281/?ref=rss</link>\n <description>Âíåäðåíèå òåõíîëîãèè âûñîêîñêîðîñòíîé ïåðåäà÷è äàííûõ HSDPA â ñåòè WCDMA ïîçâîëèò óâåëè÷èòü äîñòóïíóþ ïèêîâóþ ñêîðîñòü ïåðåäà÷è äàííûõ íà ïðîìåæóòêå îò áàçîâîé ñòàíöèè ê ìîáèëüíîìó òåëåôîíó äî 14 Ìáèò/ñ.</description>\n <category>Òåëåêîììóíèêàöèè/Áåñïðîâîäíûå ñåòè</category>\n\n <pubDate>Wed, 27 Oct 2004 07:59:25 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Îïàñíàÿ óÿçâèìîñòü
â ñèñòåìå pGina</title>\n <link>http://www.compulenta.ru/2004/10/27/51300/?ref=rss</link>\n <description>Äûðà â ñèñòåìå àóòåíòèôèêàöèè ïîçâîëÿåò ïðîâîäèòü DoS-àòàêè íà óäàëåííûå êîìïüþòåðû.</description>\n <category>Íîâîñòè áåçîïàñíîñòè</category>\n\n <pubDate>Wed, 27 Oct 2004 07:40:02 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Western Digital íà÷èíàåò ïîñòàâêè 2,5-äþéìîâûõ æ¸ñòêèõ äèñêîâ</title>\n <link>http://www.compulenta.ru/2004/10/27/51291/?ref=rss</link>\n <description> ëèíåéêó Scorpio âõîäÿò æåñòêèå äèñêè åìêîñòüþ 40, 60 è 80 Ãá, ñ áóôåðîì íà 2 è 8 Ìá. </description>\n <category>Æåëåçî/Âèí÷åñòåðû</category>\n\n <pubDate>Wed, 27 Oct 2004 07:30:20 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ïîäâîäíûé ìóçûêàëüíûé ïëååð SwiMP3</title>\n <link>http://www.compulenta.ru/2004/10/27/51272/?ref=rss</link>\n <description>Ïëååð SwiMP3 ïåðåäàåò çâóê ÷åðåç êîñòè ÷åðåïà ñ ïîìîùüþ âèáðàöèé íàïðÿìóþ â ñðåäíåå óõî.</description>\n <category></category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21982.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 07:25:17 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Intel ïîääåðæèò ïðîåêò ïî ðàçâåðòûâàíèþ ñåòåé WiMAX</title>\n <link>http://www.compulenta.ru/2004/10/27/51274/?ref=rss</link>\n <description>Ñîãëàñíî óñëîâèÿì ñäåëêè, êîìïàíèÿ Clearwire, ïðèíàäëåæàùàÿ ìèëëèàðäåðó Êðåéãó Ìàêêîó, ðàçâåðíåò ñåòè ñòàíäàðòà WiMAX ñ èñïîëüçîâàíèåì WiMAX-ìîäóëåé ïðîèçâîäñòâà Intel.</description>\n <category>Òåëåêîììóíèêàöèè/Áåñïðîâîäíûå ñåòè</category>\n\n <pubDate>Wed, 27 Oct 2004 07:09:19 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Seagate ïîïîëíèëà ëèíåéêó âíåøíèõ æåñòêèõ äèñêîâ</title>\n <link>http://www.compulenta.ru/2004/10/27/51288/?ref=rss</link>\n <description>Âèí÷åñòåðû Pocket Hard Drive è Portable External Hard Drive ïîäêëþ÷àþòñÿ ê êîìïüþòåðó ïîñðåäñòâîì ïîðòà USB 2.0.</description>\n <category>Æåëåçî/Âèí÷åñòåðû</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21978.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 07:04:37 GMT</pub
Date>\n </item>\n\n\n <item>\n <title>HP áîëüøå âñåõ òðàòèò íà çàêóïêè ìèêðîñõåì</title>\n <link>http://www.compulenta.ru/2004/10/27/51289/?ref=rss</link>\n <description>14,5 ìëðä. äîëëàðîâ ïîòðàòèò Hewlett-Packard ê êîíöó òåêóùåãî ãîäà íà ïðèîáðåòåíèå ìèêðîñõåì, ÷òî íà 31% áîëüøå, ÷åì â 2003 ãîäó.</description>\n <category>Áèçíåñ</category>\n\n <pubDate>Wed, 27 Oct 2004 06:37:36 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Âûøåë ýëåêòðîííûé ñëîâàðü ABBYY Lingvo 10</title>\n <link>http://www.compulenta.ru/2004/10/27/51286/?ref=rss</link>\n <description> íîâîé âåðñèè çíà÷èòåëüíî ïîïîëíåíû ñëîâàðíûå áàçû, è äîáàâëåí îáó÷àþùèé ìîäóëü Lingvo Tutor.</description>\n <category>Ñîôò/Ýëåêòðîííûå ñëîâàðè</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21975.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 06:35:23 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Îáíàðóæåíà òðîÿíñêàÿ ïðîãðàììà Hackarmy</title>\n <link>http://www.compulenta.ru/2004/10/27/51295/?ref=rss</link>\n <description>Òðîÿí ðàçìåðîì îêîëî 19 êá èìååò âñòðîåííóþ ôóíêöèþ óäàëåííîãî óïðàâëåíèÿ êîìïüþòåðîì.</description>\n <category>Íîâîñòè áåçîïàñíîñòè</category>\n\n <pubDate>Wed, 27 Oct 2004 06:34:31 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Íàðóøèòåëü êîïèðàéòà ïðåäñòàë ïåðåä àâñòðàëèéñêèì ñóäîì</title>\n <link>http://www.compulenta.ru/2004/10/27/51284/?ref=rss</link>\n <description>Ñòèâåí Êóïåð, âëàäåëåö âåá-ñàéòà mp3s4free.net, íà êîòîðîì ðàçìåùàëèñü ãèïåðññûëêè íà ïèðàòñêèå êîïèè ìóçûêàëüíûõ êîìïîçèöèé, îáâèíÿåòñÿ â íàðóøåíèè çàêîíà îá àâòîðñêîì ïðàâå. </description>\n <category>Áèçíåñ/Àâòîðñêîå ïðàâî/Çàùèòà àâòîðñêîãî ïðàâà â öèôðîâóþ ýïîõó</category>\n\n <pubDate>Wed, 27 Oct 2004 06:28:26 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Öèôðîâûå ôîòîêàìåðû Praktica Luxmedia 5003/6103</title>\n <link>http://www.compulenta.ru/2004/10/27/51287/?ref=rss</link>\n <description>Óñòðîéñòâà ñíàáæåíû òðåõêðàòíûìè îïòè÷åñêèìè òðàíñôîêàòîðàìè è ñëîòàìè äëÿ ñìåííûõ ôëýø-êàðò ïàìÿòè ôîðìàòà Secure Digital.</description>\n <category></
category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21977.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Wed, 27 Oct 2004 06:24:10 GMT</pubDate>\n </item>\n\n\n <item>\n <title> ñëóæáå AOL Journals îáíàðóæåíà äûðà</title>\n <link>http://www.compulenta.ru/2004/10/27/51290/?ref=rss</link>\n <description>Óÿçâèìîñòü ìîæåò èñïîëüçîâàòüñÿ çëîóìûøëåííèêàìè ñ öåëüþ ñáîðà àäðåñîâ ýëåêòðîííîé ïî÷òû ïîëüçîâàòåëåé èíòåðíåòà.</description>\n <category>Íîâîñòè áåçîïàñíîñòè</category>\n\n <pubDate>Wed, 27 Oct 2004 05:42:26 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ïîëüçîâàòåëÿì "Ñòðèìà" âûäåëèëè ïî 500 Ìá äëÿ õðàíåíèÿ ôàéëîâ â èíòåðíåòå</title>\n <link>http://www.compulenta.ru/2004/10/26/51283/?ref=rss</link>\n <description>Êîìïàíèÿ "ÌÒÓ-Èíòåë" çàïóñòèëà â òåñòîâóþ ýêñïëóàòàöèþ ñåðâèñ Ñòðèì.Äðàéâ - áåñïëàòíîå õðàíèëèùå äàííûõ îáúåìîì â 500 Ìá äëÿ ïîëüçîâàòåëåé "Ñòðèìà".</description>\n <category>Òåëåêîììóíèêàöèè/Âûñîêîñêîðîñòíîé äîñòóï â èíòåðíåò</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 18:32:01 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Äîõîä Borland âûðîñ íà 10%</title>\n <link>http://www.compulenta.ru/2004/10/26/51280/?ref=rss</link>\n <description> òðåòüåì êâàðòàëå âûðó÷êà êîìïàíèè ñîñòàâèëà $77,6 ìëí. â ñðàâíåíèè ñ $70,6 ìëí. â àíàëîãè÷íîì ïåðèîäå ïðîøëîãî ãîäà. </description>\n <category>Áèçíåñ/Ôèíàíñîâûå îò÷¸òû êîìïàíèé</category>\n\n <pubDate>Tue, 26 Oct 2004 17:40:22 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Çàïóñêè âñåõ ðîññèéñêèõ âîåííûõ ñïóòíèêîâ áóäóò îñóùåñòâëÿòüñÿ ñ Ïëåñåöêà</title>\n <link>http://www.compulenta.ru/2004/10/26/51278/?ref=rss</link>\n <description>Çàïóñêè âñåõ ñïóòíèêîâ â èíòåðåñàõ Ìèíîáîðîíû ÐÔ áóäóò îñóùåñòâëÿòüñÿ ñ íàõîäÿùåãîñÿ íà òåððèòîðèè Ðîññèè ñåâåðíîãî êîñìîäðîìà Ïëåñåöê, à íå ñ Áàéêîíóðà.</description>\n <category>Êîñìîñ</category>\n\n <pubDate>Tue, 26 Oct 2004 16:23:17 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Ôëýø-ïëååðû Sony ñ âðåìåíåì ðàáîòû â 70
÷àñîâ</title>\n <link>http://www.compulenta.ru/2004/10/26/51266/?ref=rss</link>\n <description> êà÷åñòâå èñòî÷íèêà ïèòàíèÿ Sony NW-E95 è NW-E99 èñïîëüçóþò îäíó îáû÷íóþ áàòàðåéêó èëè àêêóìóëÿòîð òèïà ÀÀÀ.</description>\n <category></category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21959.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 16:14:09 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Êàäð äíÿ: Àðìåéñêèé äæèï "Àãðåññîð" íà òîïëèâíûõ ýëåìåíòàõ</title>\n <link>http://www.compulenta.ru/2004/10/26/51277/?ref=rss</link>\n <description>Àìåðèêàíñêàÿ êîìïàíèÿ Quantum Fuel Systems Technologies ïðåäñòàâèëà äæèï "Àãðåññîð" - ïðîòîòèï àíàëîãà "Õàììåðà" íà òîïëèâíûõ ýëåìåíòàõ.</description>\n <category>Êàäð äíÿ</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21968.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 16:12:42 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Íîâàÿ ñèñòåìà ðàçðàáîòêè îáðàçîâàòåëüíîãî êîíòåíòà</title>\n <link>http://www.compulenta.ru/2004/10/26/51276/?ref=rss</link>\n <description>Ñèñòåìà LERSUS îò óêðàèíñêîé êîìïàíèè DELFI Software ïîçâîëÿåò ëåãêî ñîçäàâàòü òåñòû, ìîäóëè äëÿ ó÷åáíûõ ïîðòàëîâ, èíòåðàêòèâíûå ñïðàâî÷íûå ìàòåðèàëû è ìíîãîå äðóãîå.</description>\n <category></category>\n\n <pubDate>Tue, 26 Oct 2004 15:15:40 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Êàíäèäàò â ïðåçèäåíòû ÑØÀ Äæîí Êåððè çàìàõèâàåòñÿ íà DMCA?</title>\n <link>http://www.compulenta.ru/2004/10/26/51275/?ref=rss</link>\n <description>Äæîí Êåððè ñêàçàë, ÷òî îí ìîæåò ïîääåðæàòü âíåñåíèå ñóùåñòâåííûõ "îñëàáëÿþùèõ" ïîïðàâîê â íåïîïóëÿðíûé çàêîí DMCA. </description>\n <category>Ïðàâî/DMCA è CBDTPA</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21963.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 15:14:50 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Íîâûé òèï òðàíñëÿöèè öèôðîâîãî êîíòåíòà PodCasting íàáèðàåò îáîðîòû</title>\n <link>http://www.compulenta.ru/2004/10/26/51267/?ref=rss</link>\n <description>P
odCasting - ýòî íîâûé ñïîñîá ðàñïðîñòðàíåíèÿ ìóçûêè, â îñíîâå êîòîðãî ëåæèò òåõíîëîãèÿ RSS, òàê ÷òî â òåîðèè íîâûé ìåòîä ïðèãîäåí íå òîëüêî äëÿ òðàíñëÿöèè çâóêà.</description>\n <category>Èíòåðíåò/Èíòåðíåò-ðàäèî</category>\n\n <pubDate>Tue, 26 Oct 2004 14:46:53 GMT</pubDate>\n </item>\n\n\n <item>\n <title>Êóðñ àêöèé Google ñòàâèò íîâûå ðåêîðäû</title>\n <link>http://www.compulenta.ru/2004/10/26/51270/?ref=rss</link>\n <description>Ïîñëå îïóáëèêîâàíèÿ êâàðòàëüíîãî îò÷åòà êóðñ öåííûõ áóìàã Google íà áèðæå Nasdaq íà÷àë ðåçêî ðàñòè è â ïîíåäåëüíèê äîñòèã ïèêà â $194,43 çà àêöèþ.</description>\n <category>Èíòåðíåò/Ïîèñêîâûå ñèñòåìû/Google</category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 14:00:30 GMT</pubDate>\n </item>\n\n\n <item>\n <title>GTA 3: San Andreas îçâó÷èëè çâ¸çäû Ãîëëèâóäà</title>\n <link>http://www.compulenta.ru/2004/10/26/51273/?ref=rss</link>\n <description>Ñýìþåëü Äæåêñîí, Ice-T, Ïèòåð Ôîíäà è Äæåéìñ Âóäñ - âîò ëèøü ñàìûå ãðîìêèå èìåíà èç ÷èñëà àêò¸ðîâ è ìóçûêàíòîâ, îçâó÷èâàâøèõ íîâóþ èãðó ñåðèè GTA.</description>\n <category>Èãðû/Grand Theft Auto </category>\n\n <enclosure url=\"http://www.compulenta.ru/pubimages/21962.jpg\" type=\"image/jpeg\"/>\n\n <pubDate>Tue, 26 Oct 2004 13:39:22 GMT</pubDate>\n </item>\n\n\n <item>\n <title> Adobe Reader ïîÿâèòñÿ ïîèñê îò Yahoo</title>\n <link>http://www.compulenta.ru/2004/10/26/51271/?ref=rss</link>\n <description>Íîâàÿ ïàíåëü â Adobe Reader ðàñøèðèò ôóíêöèîíàëüíûå âîçìîæíîñòè ïðîãðàììû, ñíàáäèò åå ïîèñêîì îò Yahoo è äîñòóïîì ê îíëàéíîâûì ñåðâèñàì Adobe.</description>\n <category>Áèçíåñ</category>\n\n <pubDate>Tue, 26 Oct 2004 13:11:12 GMT</pubDate>\n </item>\n\n</channel>\n</rss>\n"}}
3>
> Hello.
>
> 1> application:start(inets).
> ok
> 2> http:request(get, {"http://www.compulenta.ru/rss.xml", []}, [], []).
>
> =ERROR REPORT==== 22-Oct-2004::17:02:11 ===
> ** Generic server <0.44.0> terminating
> ** Last message in was {tcp,#Port<0.107>,
> <<72,84,84,80,47,49,46,49,32,50,48,48,32,79,75,13,10
> ...
> ** Reason for termination ==
> ** {{badmatch,{noreply,{state,{request,
> #Ref<0.0.0.225>,
> ...
> [{httpc_handler,handle_http_body,2},
> {gen_server,handle_msg,6},
> {proc_lib,init_p,5}]}
>
> ahd erlanng shell is locked forewer. Erlang r10b.
> A simple question: where i'm wrong?
> Or please advise me a ready-to-use packet for fetching via http/ftp.
>
> ermine
--
/Ingela
Ericsson AB - OTP team
More information about the erlang-questions
mailing list