From timur.nozadze at gmail.com Tue Jun 3 01:52:23 2014 From: timur.nozadze at gmail.com (=?UTF-8?B?0KLQuNC80YPRgCDQndC+0LfQsNC00LfQtQ==?=) Date: Tue, 3 Jun 2014 12:52:23 +0400 Subject: [SPb-pm] [Kiev-pm] [Moscow.pm] YAPC::Russia 2014 In-Reply-To: References: <20140409115249.GA51237@nataraj.karasik.eu.org> Message-ID: ???????, ??? ?????????, ??? ???? ????????? ?????? ??????????????? ??????? ? ????? ?????? ?? ??? ??????????? (? 12-?? ?? 15-?). ????? ????????? ?????? ????? ? ?????? ?????????? ???????????. http://www.booking.com/hotel/ru/azimut-saint-petersburg.ru.html ??? ??? ???? ???-?? ??? ?? ??????????? ? ?????? ? ? ????????????? ??? ???????, ????? ?? ??? ?????, ??????? ??? ????????. ????????? ???????????? ?????? ? 13 266 ???. ?? ???? ?????. ??? ?????? ????????, ??????????????, ???????? ?????. ??????, ???? ????-?? ?????, ??????? ???????? ?? ??? ?????. 6 ??? 2014 ?., 0:13 ???????????? Andrew Shitov ???????: > ???, ????? ???????? ????? ?????????? ???????????. ??? "????? ?????" > ????? ????? ?????????? (??. ???????????, ??? 5). > > ???? ????????: http://mestorosta.biz > > ??????????? ?? ???????????: http://yapcrussia.org > ?????? ?????? ?? ???????: http://event.yapcrussia.org/yr2014/newtalk > ??????????? ??? ??????????????, ??? ? ????-???????. > > > ?? ?????????, ??? ??????????? ???????? ?? ?????? ? ??? ????? ?????, ?? > ? ? ??? ?????????? ? ??????. ??????? ???? ? ?????????? ? > ?????-?????????? ? ?????? ???? ????? ?????? ?????? ? ?????? ?????? > ??????. > > ???????????? ?? ???????: http://tinyurl.com/yr2014a > ???????????? ?? ????????: http://tinyurl.com/yr2014b > > ?????? ?? ???????: http://skyscanner.com > ?????? ?? ?????: http://ticket.rzd.ru > > 2014-05-02 22:09 GMT+02:00 ????? ??????? : > > ???? ??????! > > > > ?????????, ??? ???????? ???? ???????? ?????? ?????? ?? ??????????? > > YAPC::Russia 2014. ??????????? ??????? 13-14 ???? ? ?????-??????????, > > ???????? ???? ??? ???????? ? ??? ????? ?????? ??????: > > http://mestorosta.biz/. > > > > ???? ?? ????????? ??????? ???????????, ?? ???? ?????? ???-??? ???????: > > > > 1) ??????????????? ?? ????? ???????????: > > http://event.yapcrussia.org/yr2014/. > > ???? ??????????? ? ??????????, ?????????? ??? ???????, ? ?????? > ??????????? > > ??????? ?????? ???????? ?, ??????????, ??? ? ???????. ??? ? ??????? ????? > > ??? ????, ????? ? ???? X ?? ??? ??????? ?????? ??????? ?? ?????????? > > ????????, ?? ? ?????? ???????? ? ???? ??????????? ??? ????. ;) > > > > 2) ??????????????? ? ????? ??????? ? ?????????? ?????: > > https://vk.com/yapcrussia2014 > > https://www.facebook.com/events/317682595047028/ > > ?? ???????? ?????????? ? ???????? ? ?????????. > > > > 3) ??????? ?????? ?? ??????: http://event.yapcrussia.org/yr2014/newtalk. > > ???? ? ?????, ?? ? ??????? ?? ??????????? ?????? ????. ;) > > > > 4) ?? ??????????? ????? ????????? ???????? ???????????? ? ?????????????? > ? > > ???????????, ??????? ?? ????? ???? ?? ?????? ?? ????????, ?? ????, ???? > ??? > > ????????? ???? ?? ??????? ?? ????? ???? Perl, ? ????? ?????? ??????? > ?????? > > ? ?????????????. ?? ????????? ???-?????? ?????????. > > > > 5) ???????????? ? ??????????? ? ??????. ? ???? ??? ????? ??????? ??? > ??????? > > ???????. > > > > PS: ?? ??-???????? ??????? ??? ?????????????? ?? ??????????. ???? ???? > > ???????? ?????????????? ? ???????? Perl-??????????, ?????????? ?? ????? > > HR/PR-???????. ???? ??????? ???????????? ????????????? ? ?????? ????? > > ????????. :) > > > > > > 11 ?????? 2014 ?., 15:20 ???????????? ????? ??????? > > ???????: > > > >> ????????? ????? ??? ???? ??? (???????)! :) > >> > >> ?? ??????? ???????????? ???????????? ? ?????? ? ??????? ?????????? > >> ??????????? YAPC::Russia ? ???? ????. > >> ??? ????? ?????-?????????, 13-14 ????. ????????????? ????? ? > ????????????? > >> ????? ????? ?????. ???? ????? ???? ??????! > >> > >> ???? ???? ?????? ????? ????? ????????????. ?? ?????? ?????? ? ??? ???? > >> ??????? ???????? ? ???????, ??????? ??? ?????????. ?. ?. ??????????? > ??????? > >> ??? ?????????? ??????????? ? ??? ????. > >> ?? ???? ????????, ? ??????? ?? ?????????, ?????????????? ? ???????? > >> perl-??????????, ? ??????? ????????????? ? ????????????? ??????????? ? > ?? > >> ???? ??????????. ;) ???? ??? ???? ?????????????? ???????? ???????, > ??????? > >> ?? ?????? ????? ?? ????????????. > >> > >> > >> 9 ?????? 2014 ?., 15:52 ???????????? Dmitry Karasik > >> ???????: > >> > >>> ????????? ????????????, ???? ?? ????? ???????????? ?????????? > >>> ?? ??????? ? ?????? ? ?? ????? ????????, ?? ???? ??? ?? ??? ???????? ? > >>> ????? ?????? ??????????.. > >>> > >>> /dk > >>> > >>> On Mon, Mar 24, 2014 at 12:59:12PM +0100, Andrew Shitov wrote: > >>> > ??????! > >>> > > >>> > ??? ??? ??????????, ??? ????? ? ???? ?????? ?? ??? ? ?????????, ??? > >>> > ????? ? ???????????? ???????, ??????, ??????????? ? ?????? ? > >>> > ??????????? ????? ????????? ???????, ? ????? ???? YAPC::Russia ? > >>> > ??????? ???????? ???? (?????????????? ??????????? ?? ?????? > >>> > ???????????? ?? ???? ?????????) ?? ?????. > >>> > > >>> > YAPC::Russia 2014 ??????????? ? ??????, ??????????????? ???? 14-15 > >>> > ????. ????????? ??????????? ????? ?????. ? ?????????? ????????? > >>> > ??????? Mail.ru ? ????? ?????? Moscow.pm ????? ????????. > >>> > > >>> > ??? ????? ???????? ???????????? ?? ????? ? ?????? ? ?????? ????? > >>> > ??????? ???????????, ?? ??? ?????? ??????????? ? ???? ????? :-) ???? > >>> > ?????????? ???????? ??????????? ? ??????. ????? ??? ?????? ????? ???, > >>> > ?? 2015 ?????? ? ????. > >>> > > >>> > ??????? ?? ?????????. ???? ??? ??: http://yapcrussia.org (???? ?? > >>> > ????????). ?????? ? ????? ???????? ???????. > >>> > > >>> > > >>> > > >>> > 2013-12-22 17:03 GMT+01:00 Andrew Shitov : > >>> > > ??????! > >>> > > > >>> > > ??? ????????, ??? ????? ???????? ???? ? ????? ?????????? ????????? > >>> > > ??????????? YAPC::Russia. ? ????????? ???? ??? ??????? ? ????? 14 > >>> > > ???? (? > >>> > > ???????). > >>> > > > >>> > > ? 2008 ???? ??????????? ???????? ?? ??????? ?? ? ?????? (??? > >>> > > ????????? May > >>> > > Perl), ?? ? ????? (????????? ??? Perl Mova). ? 2013 YAPC::Russia ?? > >>> > > ???? > >>> > > ?????, ?????? ??? ?? ??????? ????????????? ??????????? > YAPC::Europe. > >>> > > > >>> > > 2008 ?????? > >>> > > 2009 ?????? > >>> > > 2010 ???? > >>> > > 2011 ?????? > >>> > > 2012 ???? > >>> > > 2013 YAPC::Europe, ???? > >>> > > 2014 ???? > >>> > > > >>> > > ???? 14 ???? ???? ??????? ? ??? ????????, ????? ???? ?????? > ???????? > >>> > > ??????????? ?? ??????, ??? ??-?? ?????????? ???????? ?????? > ???????? > >>> > > ??? ? > >>> > > 12 ?? 15 ????. ????? ?????????? ????? ????????? ?????????????. ???? > >>> > > ???? ?? > >>> > > ?????. > >>> > > > >>> > > ???? ??????????? ??? ????????: http://yapcrussia.org. ???? ?? > >>> > > ???????????????? ?? ?????????? ????????????, ?? ??????? > >>> > > ??????????????? > >>> > > ????? ??????? ?????? ??? ?????? ? ???????????, > >>> > > > >>> > > ???????? ? ????? ?????? ?? ??????? ? ????-???????: > >>> > > http://event.yapcrussia.org/yr2014/newtalk. > >>> > > > >>> > > ? ??????? ?? ??????? ???, ??????????? ?????????? ???? ????? > >>> > > ??????????? > >>> > > (??????? ???????, ???? ??????????), ??????? ? ??? ???????? > >>> > > ??????????? > >>> > > ???????? ????? ?????? ???????. > >>> > > > >>> > > Love Perl? Come to Kiev! > >>> > > > >>> > > -- > >>> > > Andrew Shitov > >>> > > > >>> > > > ______________________________________________________________________ > >>> > > andy at shitov.ru | http://shitov.ru > >>> > > >>> > > >>> > > >>> > -- > >>> > Andrew Shitov > >>> > > ______________________________________________________________________ > >>> > andy at shitov.ru | http://shitov.ru > >>> > -- > >>> > Moscow.pm mailing list > >>> > moscow-pm at pm.org | http://moscow.pm.org > >>> > >>> -- > >>> Sincerely, > >>> Dmitry Karasik > >>> > >>> -- > >>> Moscow.pm mailing list > >>> moscow-pm at pm.org | http://moscow.pm.org > >> > >> > >> > >> > >> -- > >> ? ?????????, ????? ??????? > > > > > > > > > > -- > > ? ?????????, ????? ??????? > > > > _______________________________________________ > > Kiev-pm mailing list > > Kiev-pm at pm.org > > http://mail.pm.org/mailman/listinfo/kiev-pm > > > > > > -- > Andrew Shitov > ______________________________________________________________________ > andy at shitov.ru | http://shitov.ru > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > -- ? ?????????, ????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From akzhan.abdulin at gmail.com Tue Jun 3 13:31:30 2014 From: akzhan.abdulin at gmail.com (Akzhan Abdulin) Date: Wed, 4 Jun 2014 00:31:30 +0400 Subject: [SPb-pm] [Moscow.pm] [Kiev-pm] YAPC::Russia 2014 In-Reply-To: References: <20140409115249.GA51237@nataraj.karasik.eu.org> Message-ID: ?????, ??? ????? ????? ????? ? 13 ?? 15 (?? 12 ????? ??? ? ??????, ??-?? ...). 3 ???? 2014 ?., 12:52 ???????????? ????? ??????? ???????: > ???????, ??? ?????????, ??? ???? ????????? ?????? ??????????????? ??????? > ? ????? ?????? ?? ??? ??????????? (? 12-?? ?? 15-?). ????? ????????? ?????? > ????? ? ?????? ?????????? ???????????. > http://www.booking.com/hotel/ru/azimut-saint-petersburg.ru.html > ??? ??? ???? ???-?? ??? ?? ??????????? ? ?????? ? ? ????????????? ??? > ???????, ????? ?? ??? ?????, ??????? ??? ????????. ????????? ???????????? > ?????? ? 13 266 ???. ?? ???? ?????. ??? ?????? ????????, ??????????????, > ???????? ?????. ??????, ???? ????-?? ?????, ??????? ???????? ?? ??? ?????. > > > 6 ??? 2014 ?., 0:13 ???????????? Andrew Shitov ???????: > >> ???, ????? ???????? ????? ?????????? ???????????. ??? "????? ?????" >> ????? ????? ?????????? (??. ???????????, ??? 5). >> >> ???? ????????: http://mestorosta.biz >> >> ??????????? ?? ???????????: http://yapcrussia.org >> ?????? ?????? ?? ???????: http://event.yapcrussia.org/yr2014/newtalk >> ??????????? ??? ??????????????, ??? ? ????-???????. >> >> >> ?? ?????????, ??? ??????????? ???????? ?? ?????? ? ??? ????? ?????, ?? >> ? ? ??? ?????????? ? ??????. ??????? ???? ? ?????????? ? >> ?????-?????????? ? ?????? ???? ????? ?????? ?????? ? ?????? ?????? >> ??????. >> >> ???????????? ?? ???????: http://tinyurl.com/yr2014a >> ???????????? ?? ????????: http://tinyurl.com/yr2014b >> >> ?????? ?? ???????: http://skyscanner.com >> ?????? ?? ?????: http://ticket.rzd.ru >> >> 2014-05-02 22:09 GMT+02:00 ????? ??????? : >> > ???? ??????! >> > >> > ?????????, ??? ???????? ???? ???????? ?????? ?????? ?? ??????????? >> > YAPC::Russia 2014. ??????????? ??????? 13-14 ???? ? ?????-??????????, >> > ???????? ???? ??? ???????? ? ??? ????? ?????? ??????: >> > http://mestorosta.biz/. >> > >> > ???? ?? ????????? ??????? ???????????, ?? ???? ?????? ???-??? ???????: >> > >> > 1) ??????????????? ?? ????? ???????????: >> > http://event.yapcrussia.org/yr2014/. >> > ???? ??????????? ? ??????????, ?????????? ??? ???????, ? ?????? >> ??????????? >> > ??????? ?????? ???????? ?, ??????????, ??? ? ???????. ??? ? ??????? >> ????? >> > ??? ????, ????? ? ???? X ?? ??? ??????? ?????? ??????? ?? ?????????? >> > ????????, ?? ? ?????? ???????? ? ???? ??????????? ??? ????. ;) >> > >> > 2) ??????????????? ? ????? ??????? ? ?????????? ?????: >> > https://vk.com/yapcrussia2014 >> > https://www.facebook.com/events/317682595047028/ >> > ?? ???????? ?????????? ? ???????? ? ?????????. >> > >> > 3) ??????? ?????? ?? ??????: http://event.yapcrussia.org/yr2014/newtalk >> . >> > ???? ? ?????, ?? ? ??????? ?? ??????????? ?????? ????. ;) >> > >> > 4) ?? ??????????? ????? ????????? ???????? ???????????? ? >> ?????????????? ? >> > ???????????, ??????? ?? ????? ???? ?? ?????? ?? ????????, ?? ????, ???? >> ??? >> > ????????? ???? ?? ??????? ?? ????? ???? Perl, ? ????? ?????? ??????? >> ?????? >> > ? ?????????????. ?? ????????? ???-?????? ?????????. >> > >> > 5) ???????????? ? ??????????? ? ??????. ? ???? ??? ????? ??????? ??? >> ??????? >> > ???????. >> > >> > PS: ?? ??-???????? ??????? ??? ?????????????? ?? ??????????. ???? ???? >> > ???????? ?????????????? ? ???????? Perl-??????????, ?????????? ?? ????? >> > HR/PR-???????. ???? ??????? ???????????? ????????????? ? ?????? ????? >> > ????????. :) >> > >> > >> > 11 ?????? 2014 ?., 15:20 ???????????? ????? ??????? >> > ???????: >> > >> >> ????????? ????? ??? ???? ??? (???????)! :) >> >> >> >> ?? ??????? ???????????? ???????????? ? ?????? ? ??????? ?????????? >> >> ??????????? YAPC::Russia ? ???? ????. >> >> ??? ????? ?????-?????????, 13-14 ????. ????????????? ????? ? >> ????????????? >> >> ????? ????? ?????. ???? ????? ???? ??????! >> >> >> >> ???? ???? ?????? ????? ????? ????????????. ?? ?????? ?????? ? ??? ???? >> >> ??????? ???????? ? ???????, ??????? ??? ?????????. ?. ?. ??????????? >> ??????? >> >> ??? ?????????? ??????????? ? ??? ????. >> >> ?? ???? ????????, ? ??????? ?? ?????????, ?????????????? ? ???????? >> >> perl-??????????, ? ??????? ????????????? ? ????????????? ??????????? ? >> ?? >> >> ???? ??????????. ;) ???? ??? ???? ?????????????? ???????? ???????, >> ??????? >> >> ?? ?????? ????? ?? ????????????. >> >> >> >> >> >> 9 ?????? 2014 ?., 15:52 ???????????? Dmitry Karasik >> >> ???????: >> >> >> >>> ????????? ????????????, ???? ?? ????? ???????????? ?????????? >> >>> ?? ??????? ? ?????? ? ?? ????? ????????, ?? ???? ??? ?? ??? ???????? ? >> >>> ????? ?????? ??????????.. >> >>> >> >>> /dk >> >>> >> >>> On Mon, Mar 24, 2014 at 12:59:12PM +0100, Andrew Shitov wrote: >> >>> > ??????! >> >>> > >> >>> > ??? ??? ??????????, ??? ????? ? ???? ?????? ?? ??? ? ?????????, ??? >> >>> > ????? ? ???????????? ???????, ??????, ??????????? ? ?????? ? >> >>> > ??????????? ????? ????????? ???????, ? ????? ???? YAPC::Russia ? >> >>> > ??????? ???????? ???? (?????????????? ??????????? ?? ?????? >> >>> > ???????????? ?? ???? ?????????) ?? ?????. >> >>> > >> >>> > YAPC::Russia 2014 ??????????? ? ??????, ??????????????? ???? 14-15 >> >>> > ????. ????????? ??????????? ????? ?????. ? ?????????? ????????? >> >>> > ??????? Mail.ru ? ????? ?????? Moscow.pm ????? ????????. >> >>> > >> >>> > ??? ????? ???????? ???????????? ?? ????? ? ?????? ? ?????? ????? >> >>> > ??????? ???????????, ?? ??? ?????? ??????????? ? ???? ????? :-) ???? >> >>> > ?????????? ???????? ??????????? ? ??????. ????? ??? ?????? ????? >> ???, >> >>> > ?? 2015 ?????? ? ????. >> >>> > >> >>> > ??????? ?? ?????????. ???? ??? ??: http://yapcrussia.org (???? ?? >> >>> > ????????). ?????? ? ????? ???????? ???????. >> >>> > >> >>> > >> >>> > >> >>> > 2013-12-22 17:03 GMT+01:00 Andrew Shitov : >> >>> > > ??????! >> >>> > > >> >>> > > ??? ????????, ??? ????? ???????? ???? ? ????? ?????????? ????????? >> >>> > > ??????????? YAPC::Russia. ? ????????? ???? ??? ??????? ? ????? 14 >> >>> > > ???? (? >> >>> > > ???????). >> >>> > > >> >>> > > ? 2008 ???? ??????????? ???????? ?? ??????? ?? ? ?????? (??? >> >>> > > ????????? May >> >>> > > Perl), ?? ? ????? (????????? ??? Perl Mova). ? 2013 YAPC::Russia >> ?? >> >>> > > ???? >> >>> > > ?????, ?????? ??? ?? ??????? ????????????? ??????????? >> YAPC::Europe. >> >>> > > >> >>> > > 2008 ?????? >> >>> > > 2009 ?????? >> >>> > > 2010 ???? >> >>> > > 2011 ?????? >> >>> > > 2012 ???? >> >>> > > 2013 YAPC::Europe, ???? >> >>> > > 2014 ???? >> >>> > > >> >>> > > ???? 14 ???? ???? ??????? ? ??? ????????, ????? ???? ?????? >> ???????? >> >>> > > ??????????? ?? ??????, ??? ??-?? ?????????? ???????? ?????? >> ???????? >> >>> > > ??? ? >> >>> > > 12 ?? 15 ????. ????? ?????????? ????? ????????? ?????????????. >> ???? >> >>> > > ???? ?? >> >>> > > ?????. >> >>> > > >> >>> > > ???? ??????????? ??? ????????: http://yapcrussia.org. ???? ?? >> >>> > > ???????????????? ?? ?????????? ????????????, ?? ??????? >> >>> > > ??????????????? >> >>> > > ????? ??????? ?????? ??? ?????? ? ???????????, >> >>> > > >> >>> > > ???????? ? ????? ?????? ?? ??????? ? ????-???????: >> >>> > > http://event.yapcrussia.org/yr2014/newtalk. >> >>> > > >> >>> > > ? ??????? ?? ??????? ???, ??????????? ?????????? ???? ????? >> >>> > > ??????????? >> >>> > > (??????? ???????, ???? ??????????), ??????? ? ??? ???????? >> >>> > > ??????????? >> >>> > > ???????? ????? ?????? ???????. >> >>> > > >> >>> > > Love Perl? Come to Kiev! >> >>> > > >> >>> > > -- >> >>> > > Andrew Shitov >> >>> > > >> >>> > > >> ______________________________________________________________________ >> >>> > > andy at shitov.ru | http://shitov.ru >> >>> > >> >>> > >> >>> > >> >>> > -- >> >>> > Andrew Shitov >> >>> > >> ______________________________________________________________________ >> >>> > andy at shitov.ru | http://shitov.ru >> >>> > -- >> >>> > Moscow.pm mailing list >> >>> > moscow-pm at pm.org | http://moscow.pm.org >> >>> >> >>> -- >> >>> Sincerely, >> >>> Dmitry Karasik >> >>> >> >>> -- >> >>> Moscow.pm mailing list >> >>> moscow-pm at pm.org | http://moscow.pm.org >> >> >> >> >> >> >> >> >> >> -- >> >> ? ?????????, ????? ??????? >> > >> > >> > >> > >> > -- >> > ? ?????????, ????? ??????? >> > >> > _______________________________________________ >> > Kiev-pm mailing list >> > Kiev-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/kiev-pm >> > >> >> >> >> -- >> Andrew Shitov >> ______________________________________________________________________ >> andy at shitov.ru | http://shitov.ru >> _______________________________________________ >> Spb-pm mailing list >> Spb-pm at pm.org >> http://mail.pm.org/mailman/listinfo/spb-pm >> > > > > -- > ? ?????????, ????? ??????? > > -- > Moscow.pm mailing list > moscow-pm at pm.org | http://moscow.pm.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From perl-list at spb.csat.ru Tue Jun 17 01:00:07 2014 From: perl-list at spb.csat.ru (Ruslan Kuksa) Date: Tue, 17 Jun 2014 12:00:07 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST Message-ID: <539FF587.2050702@spb.csat.ru> ??????, ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. ?????? ?????????? ?????? ?? ?????? ??????? POST: POST / HTTP/1.1 Host: localhost:8080 Accept: */* Content-Length: 1797 Content-Type: application/x-www-form-urlencoded Expect: 100-continue ??? ???????? ?? ????? 1797 ?????? ??????? ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? ???. (: ? ?????????, ?????? ????? ??????? ????????? ????????????? ?????? ???????? ??????-????? _ 196143, ??????, ?????-?????????, ??. ????????????, ?.44, ????.2, ???.? ?. +7 812 449-37-69 ?. +7 812 318-08-65 www.csat.ru -------------- next part -------------- An HTML attachment was scrubbed... URL: From roman.dev at gmail.com Tue Jun 17 01:16:51 2014 From: roman.dev at gmail.com (Roman Parshin) Date: Tue, 17 Jun 2014 10:16:51 +0200 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FF587.2050702@spb.csat.ru> References: <539FF587.2050702@spb.csat.ru> Message-ID: <539FF973.5020105@gmail.com> ??????????, ???: $req->content (http://search.cpan.org/~elmex/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/Request.pm) Am 17.06.14 10:00, schrieb Ruslan Kuksa: > ??????, > > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. > ?????? ?????????? ?????? ?? ?????? ??????? POST: > > POST / HTTP/1.1 > Host: localhost:8080 > Accept: */* > Content-Length: 1797 > Content-Type: application/x-www-form-urlencoded > Expect: 100-continue > > ??? ???????? ?? ????? 1797 ?????? ??????? > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? > ????? ???. (: > > ? ?????????, > ?????? ????? > ??????? ????????? ????????????? > > ?????? ???????? ??????-????? > _ > > 196143, ??????, ?????-?????????, > ??. ????????????, ?.44, ????.2, ???.? > ?. +7 812 449-37-69 > ?. +7 812 318-08-65 > www.csat.ru > > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From perl-list at spb.csat.ru Tue Jun 17 01:32:26 2014 From: perl-list at spb.csat.ru (Ruslan Kuksa) Date: Tue, 17 Jun 2014 12:32:26 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FF973.5020105@gmail.com> References: <539FF587.2050702@spb.csat.ru> <539FF973.5020105@gmail.com> Message-ID: <539FFD1A.60105@spb.csat.ru> ? ???? ??? ??????????, ?????? ?? ????? ??? ?? ??????, ?? ?????? ?? ???: print "$key => $value\n" while ($key, $value) = each %$req; content => httpd => AnyEvent::HTTPD=HASH(0x1579dd0) port => 38736 host => 127.0.0.1 resp => CODE(0x11349e8) url => / parm => HASH(0x164a080) method => POST ?? ????, content => "", ?? ???? ??? ?????? ??????. 17.06.2014 12:16, Roman Parshin ?????: > ??????????, ???: > > $req->content > > (http://search.cpan.org/~elmex/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/Request.pm) > > Am 17.06.14 10:00, schrieb Ruslan Kuksa: >> ??????, >> >> ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. >> ?????? ?????????? ?????? ?? ?????? ??????? POST: >> >> POST / HTTP/1.1 >> Host: localhost:8080 >> Accept: */* >> Content-Length: 1797 >> Content-Type: application/x-www-form-urlencoded >> Expect: 100-continue >> >> ??? ???????? ?? ????? 1797 ?????? ??????? >> ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? >> ???. (: >> >> ? ?????????, >> ?????? ????? >> ??????? ????????? ????????????? >> >> ?????? ???????? ??????-????? >> _ >> >> 196143, ??????, ?????-?????????, >> ??. ????????????, ?.44, ????.2, ???.? >> ?. +7 812 449-37-69 >> ?. +7 812 318-08-65 >> www.csat.ru >> From roman.dev at gmail.com Tue Jun 17 01:42:06 2014 From: roman.dev at gmail.com (Roman Parshin) Date: Tue, 17 Jun 2014 10:42:06 +0200 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FFF20.1000807@gmail.com> References: <539FFF20.1000807@gmail.com> Message-ID: <539FFF5E.5030209@gmail.com> ????? ??????????, ??? ???? ??????. ??? ?????? POST, ??? ?? ???????, ??? ?? ????????? ??????, ??? POST-??????? Am 17.06.14 10:32, schrieb Ruslan Kuksa: > ? ???? ??? ??????????, ?????? ?? ????? ??? ?? ??????, ?? ?????? ?? ???: > > print "$key => $value\n" while ($key, $value) = each %$req; > > content => > httpd => AnyEvent::HTTPD=HASH(0x1579dd0) > port => 38736 > host => 127.0.0.1 > resp => CODE(0x11349e8) > url => / > parm => HASH(0x164a080) > method => POST > > ?? ????, content => "", ?? ???? ??? ?????? ??????. > > 17.06.2014 12:16, Roman Parshin ?????: >> ??????????, ???: >> >> $req->content >> >> (http://search.cpan.org/~elmex/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/Request.pm) >> >> >> Am 17.06.14 10:00, schrieb Ruslan Kuksa: >>> ??????, >>> >>> ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. >>> ?????? ?????????? ?????? ?? ?????? ??????? POST: >>> >>> POST / HTTP/1.1 >>> Host: localhost:8080 >>> Accept: */* >>> Content-Length: 1797 >>> Content-Type: application/x-www-form-urlencoded >>> Expect: 100-continue >>> >>> ??? ???????? ?? ????? 1797 ?????? ??????? >>> ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? >>> ????? ???. (: >>> >>> ? ?????????, >>> ?????? ????? >>> ??????? ????????? ????????????? >>> >>> ?????? ???????? ??????-????? >>> _ >>> >>> 196143, ??????, ?????-?????????, >>> ??. ????????????, ?.44, ????.2, ???.? >>> ?. +7 812 449-37-69 >>> ?. +7 812 318-08-65 >>> www.csat.ru >>> > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm From victor at vsespb.ru Tue Jun 17 01:46:28 2014 From: victor at vsespb.ru (Victor Efimov) Date: Tue, 17 Jun 2014 12:46:28 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FFD1A.60105@spb.csat.ru> References: <539FF587.2050702@spb.csat.ru> <539FF973.5020105@gmail.com> <539FFD1A.60105@spb.csat.ru> Message-ID: ???? ?? ???? ??? ????? ? ?? ???? 17 ???? 2014 ?., 12:32 ???????????? Ruslan Kuksa ???????: > ? ???? ??? ??????????, ?????? ?? ????? ??? ?? ??????, ?? ?????? ?? ???: > > print "$key => $value\n" while ($key, $value) = each %$req; > > content => > httpd => AnyEvent::HTTPD=HASH(0x1579dd0) > port => 38736 > host => 127.0.0.1 > resp => CODE(0x11349e8) > url => / > parm => HASH(0x164a080) > method => POST > > ?? ????, content => "", ?? ???? ??? ?????? ??????. > > 17.06.2014 12:16, Roman Parshin ?????: > >> ??????????, ???: >> >> $req->content >> >> >> (http://search.cpan.org/~elmex/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/Request.pm) >> >> Am 17.06.14 10:00, schrieb Ruslan Kuksa: >>> >>> ??????, >>> >>> ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. >>> ?????? ?????????? ?????? ?? ?????? ??????? POST: >>> >>> POST / HTTP/1.1 >>> Host: localhost:8080 >>> Accept: */* >>> Content-Length: 1797 >>> Content-Type: application/x-www-form-urlencoded >>> Expect: 100-continue >>> >>> ??? ???????? ?? ????? 1797 ?????? ??????? >>> ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? >>> ???. (: >>> >>> ? ?????????, >>> ?????? ????? >>> ??????? ????????? ????????????? >>> >>> ?????? ???????? ??????-????? >>> _ >>> >>> 196143, ??????, ?????-?????????, >>> ??. ????????????, ?.44, ????.2, ???.? >>> ?. +7 812 449-37-69 >>> ?. +7 812 318-08-65 >>> www.csat.ru >>> > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm From dionys at gmail.com Tue Jun 17 01:51:00 2014 From: dionys at gmail.com (Denis Ibaev) Date: Tue, 17 Jun 2014 12:51:00 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FF587.2050702@spb.csat.ru> References: <539FF587.2050702@spb.csat.ru> Message-ID: ? ???????????? ?? ???????: content - Returns the request content or undef if only parameters for a form were transmitted. ? ??? Content-Type: application/x-www-form-urlencoded ?? ??????, ??? ???? ?????????. ??? ????? ? https://metacpan.org/source/ELMEX/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/HTTPConnection.pm#L302 sub handle_request { my ($self, $method, $uri, $hdr, $cont) = @_; $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); if ($ctype eq 'multipart/form-data') { $cont = $self->decode_multipart ($cont, $bound); } elsif ($ctype =~ /x-www-form-urlencoded/o) { $cont = parse_urlencoded ($cont); } $self->event (request => $method, $uri, $hdr, $cont); } 17 ???? 2014 ?., 12:00 ???????????? Ruslan Kuksa ???????: > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. > ?????? ?????????? ?????? ?? ?????? ??????? POST: > > POST / HTTP/1.1 > Host: localhost:8080 > Accept: */* > Content-Length: 1797 > Content-Type: application/x-www-form-urlencoded > Expect: 100-continue > > ??? ???????? ?? ????? 1797 ?????? ??????? > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? > ???. (: -- ????? ????? From perl-list at spb.csat.ru Tue Jun 17 01:57:07 2014 From: perl-list at spb.csat.ru (Ruslan Kuksa) Date: Tue, 17 Jun 2014 12:57:07 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <539FFF5E.5030209@gmail.com> References: <539FFF20.1000807@gmail.com> <539FFF5E.5030209@gmail.com> Message-ID: <53A002E3.6010302@spb.csat.ru> 17.06.2014 12:42, Roman Parshin ?????: > > ????? ??????????, ??? ???? ??????. ??? ?????? POST, ??? ?? ???????, ??? > ?? ????????? ??????, ??? POST-??????? ??? ???-?? ???: $ nc -l -p 8080 POST / HTTP/1.1 Host: localhost:8080 Accept: */* Content-Length: 6766 Content-Type: application/x-www-form-urlencoded Expect: 100-continue From chernomyrdin at gmail.com Tue Jun 17 02:03:28 2014 From: chernomyrdin at gmail.com (Andrey Chernomyrdin) Date: Tue, 17 Jun 2014 13:03:28 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: References: <539FF587.2050702@spb.csat.ru> Message-ID: ?????? content ????? ???????????? ????? ?????????? ???-?? ???? XML/JSON,???????? ???? ??????? ?????? ????? ???????: curl -s \ -H 'Content-Type: text/xml' \ -H 'SOAPAction: ""' \ --data-binary ' ' \ http://localhost:9090/to-post ?? ? $req->content ???????? ??, ??? ???????? ? --data-binary 2014-06-17 12:51 GMT+04:00 Denis Ibaev : > ? ???????????? ?? ???????: > > content - Returns the request content or undef if only parameters for > a form were transmitted. > > ? ??? Content-Type: application/x-www-form-urlencoded ?? ??????, ??? > ???? ?????????. ??? ????? ? > > https://metacpan.org/source/ELMEX/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/HTTPConnection.pm#L302 > > sub handle_request { > my ($self, $method, $uri, $hdr, $cont) = @_; > > $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); > > my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); > > if ($ctype eq 'multipart/form-data') { > $cont = $self->decode_multipart ($cont, $bound); > > } elsif ($ctype =~ /x-www-form-urlencoded/o) { > $cont = parse_urlencoded ($cont); > } > > $self->event (request => $method, $uri, $hdr, $cont); > } > > > 17 ???? 2014 ?., 12:00 ???????????? Ruslan Kuksa > ???????: > > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. > > ?????? ?????????? ?????? ?? ?????? ??????? POST: > > > > POST / HTTP/1.1 > > Host: localhost:8080 > > Accept: */* > > Content-Length: 1797 > > Content-Type: application/x-www-form-urlencoded > > Expect: 100-continue > > > > ??? ???????? ?? ????? 1797 ?????? ??????? > > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? > > ???. (: > > -- > ????? ????? > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > -- With best, Andrey Chernomyrdin -------------- next part -------------- An HTML attachment was scrubbed... URL: From perl-list at spb.csat.ru Tue Jun 17 02:50:16 2014 From: perl-list at spb.csat.ru (Ruslan Kuksa) Date: Tue, 17 Jun 2014 13:50:16 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: References: <539FF587.2050702@spb.csat.ru> Message-ID: <53A00F58.3050600@spb.csat.ru> ??????? ?? ??????. ??? ??? ?????. ??? ???????? ????? curl --data-binary, ?????? ?????????? print $req->content(); ? ??? ???? ? application/x-www-form-urlencoded? ??? ???? ?????????????? 17.06.2014 13:03, Andrey Chernomyrdin ?????: > ?????? content ????? ???????????? ????? ?????????? ???-?? ???? > XML/JSON,???????? ???? ??????? ?????? ????? ???????: > curl -s \ > -H 'Content-Type: text/xml' \ > -H 'SOAPAction: ""' \ > --data-binary ' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:api="http://localhost/api"> > ' > \ > http://localhost:9090/to-post > > ?? ? $req->content ???????? ??, ??? ???????? ? --data-binary > > > 2014-06-17 12:51 GMT+04:00 Denis Ibaev >: > > ? ???????????? ?? ???????: > > content - Returns the request content or undef if only parameters for > a form were transmitted. > > ? ??? Content-Type: application/x-www-form-urlencoded ?? ??????, ??? > ???? ?????????. ??? ????? ? > https://metacpan.org/source/ELMEX/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/HTTPConnection.pm#L302 > > sub handle_request { > my ($self, $method, $uri, $hdr, $cont) = @_; > > $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); > > my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); > > if ($ctype eq 'multipart/form-data') { > $cont = $self->decode_multipart ($cont, $bound); > > } elsif ($ctype =~ /x-www-form-urlencoded/o) { > $cont = parse_urlencoded ($cont); > } > > $self->event (request => $method, $uri, $hdr, $cont); > } > > > 17 ???? 2014 ?., 12:00 ???????????? Ruslan Kuksa > > ???????: > > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. > > ?????? ?????????? ?????? ?? ?????? ??????? POST: > > > > POST / HTTP/1.1 > > Host: localhost:8080 > > Accept: */* > > Content-Length: 1797 > > Content-Type: application/x-www-form-urlencoded > > Expect: 100-continue > > > > ??? ???????? ?? ????? 1797 ?????? ??????? > > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? ????? > > ???. (: > > -- > ????? ????? > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > > > > > -- > With best, Andrey Chernomyrdin > > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm From chernomyrdin at gmail.com Tue Jun 17 03:08:36 2014 From: chernomyrdin at gmail.com (Andrey Chernomyrdin) Date: Tue, 17 Jun 2014 14:08:36 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <53A00F58.3050600@spb.csat.ru> References: <539FF587.2050702@spb.csat.ru> <53A00F58.3050600@spb.csat.ru> Message-ID: ?? ? application/x-www-form-urlencoded ??? ? ???????? ????? ???-?? ?????????????, ??? ??? ??????????? ??????? Denis Ibaev ? ????? ???? ???? ????? ?????: sub handle_request { my ($self, $method, $uri, $hdr, $cont) = @_; $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); if ($ctype eq 'multipart/form-data') { $cont = $self->decode_multipart ($cont, $bound); } elsif ($ctype =~ /x-www-form-urlencoded/o) { $cont = parse_urlencoded ($cont); } $self->event (request => $method, $uri, $hdr, $cont); } ?? ???? ???? ? ????????? ???? x-www-form-urlencoded ?????? ???????? ??????? ????????? ??? ???, ?????? ???? ?? ????????? - ????????? ????, ????????? ?? ????????, ??? ? ????? ?? ???? (????? ????????? ?.?. ??????? ??-?????????) 2014-06-17 13:50 GMT+04:00 Ruslan Kuksa : > ??????? ?? ??????. > > ??? ??? ?????. ??? ???????? ????? curl --data-binary, ?????? ?????????? > > print $req->content(); > > ? ??? ???? ? application/x-www-form-urlencoded? > ??? ???? ?????????????? > > 17.06.2014 13:03, Andrey Chernomyrdin ?????: > >> ?????? content ????? ???????????? ????? ?????????? ???-?? ???? >> XML/JSON,???????? ???? ??????? ?????? ????? ???????: >> curl -s \ >> -H 'Content-Type: text/xml' \ >> -H 'SOAPAction: ""' \ >> --data-binary ' >> > soapenv:Body>' \ >> http://localhost:9090/to-post >> >> ?? ? $req->content ???????? ??, ??? ???????? ? --data-binary >> >> >> 2014-06-17 12:51 GMT+04:00 Denis Ibaev > dionys at gmail.com>>: >> >> >> ? ???????????? ?? ???????: >> >> content - Returns the request content or undef if only parameters for >> a form were transmitted. >> >> ? ??? Content-Type: application/x-www-form-urlencoded ?? ??????, ??? >> ???? ?????????. ??? ????? ? >> https://metacpan.org/source/ELMEX/AnyEvent-HTTPD-0.93/lib/ >> AnyEvent/HTTPD/HTTPConnection.pm#L302 >> >> sub handle_request { >> my ($self, $method, $uri, $hdr, $cont) = @_; >> >> $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); >> >> my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); >> >> if ($ctype eq 'multipart/form-data') { >> $cont = $self->decode_multipart ($cont, $bound); >> >> } elsif ($ctype =~ /x-www-form-urlencoded/o) { >> $cont = parse_urlencoded ($cont); >> } >> >> $self->event (request => $method, $uri, $hdr, $cont); >> } >> >> >> 17 ???? 2014 ?., 12:00 ???????????? Ruslan Kuksa >> > ???????: >> >> > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. >> > ?????? ?????????? ?????? ?? ?????? ??????? POST: >> > >> > POST / HTTP/1.1 >> > Host: localhost:8080 >> > Accept: */* >> > Content-Length: 1797 >> > Content-Type: application/x-www-form-urlencoded >> > Expect: 100-continue >> > >> > ??? ???????? ?? ????? 1797 ?????? ??????? >> > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? >> ????? >> > ???. (: >> >> -- >> ????? ????? >> _______________________________________________ >> Spb-pm mailing list >> Spb-pm at pm.org >> >> http://mail.pm.org/mailman/listinfo/spb-pm >> >> >> >> >> -- >> With best, Andrey Chernomyrdin >> >> >> _______________________________________________ >> Spb-pm mailing list >> Spb-pm at pm.org >> http://mail.pm.org/mailman/listinfo/spb-pm >> > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > -- With best, Andrey Chernomyrdin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dionys at gmail.com Tue Jun 17 03:17:52 2014 From: dionys at gmail.com (Denis Ibaev) Date: Tue, 17 Jun 2014 14:17:52 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: <53A00F58.3050600@spb.csat.ru> References: <539FF587.2050702@spb.csat.ru> <53A00F58.3050600@spb.csat.ru> Message-ID: 17 ???? 2014 ?., 13:50 ???????????? Ruslan Kuksa ???????: > ? ??? ???? ? application/x-www-form-urlencoded? > ??? ???? ?????????????? ???? ?????????? ?????????? ????????? Content-Type, ??????? ?? ?????????????? ???????????? ??????. ??? SOAP ??? application/soap+xml. > 17.06.2014 13:03, Andrey Chernomyrdin ?????: >> ?????? content ????? ???????????? ????? ?????????? ???-?? ???? >> XML/JSON,???????? ???? ??????? ?????? ????? ???????: >> curl -s \ >> -H 'Content-Type: text/xml' \ >> -H 'SOAPAction: ""' \ >> --data-binary '> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >> xmlns:api="http://localhost/api"> >> ' >> \ >> http://localhost:9090/to-post >> >> ?? ? $req->content ???????? ??, ??? ???????? ? --data-binary -- ????? ????? From perl-list at spb.csat.ru Tue Jun 17 04:10:12 2014 From: perl-list at spb.csat.ru (Ruslan Kuksa) Date: Tue, 17 Jun 2014 15:10:12 +0400 Subject: [SPb-pm] AnyEvent::HTTPD vs POST In-Reply-To: References: <539FF587.2050702@spb.csat.ru> <53A00F58.3050600@spb.csat.ru> Message-ID: <53A02214.6050501@spb.csat.ru> ??? ??? ??????? ?? ??????. ????? ??????, ??? ?????? ?????????. ????????? ??? ????: # diff /usr/share/perl5/AnyEvent/HTTPD/Util.pm /usr/share/perl5/AnyEvent/HTTPD/Util.pm-orig 36c36 < my $cont2 = {}; --- > $cont = {}; 43c43 < push @{$cont2->{$name}}, [$val, '']; --- > push @{$cont->{$name}}, [$val, '']; 45c45 < $#pars ? $cont2: $cont; --- > $cont ???? ??? ?? ???, ??????? ??? ?????. ????? ??? ?????: sub parse_urlencoded { my ($cont) = @_; my (@pars) = split /[\&\;]/, $cont; my $cont2 = {}; for (@pars) { my ($name, $val) = split /=/, $_; $name = url_unescape ($name); $val = url_unescape ($val); push @{$cont2->{$name}}, [$val, '']; } $#pars ? $cont2: $cont; } ?????? ???????? ? ??? ? ?????? content-type. ????????, ???? ???????? ???????? "force_multipart" ? ?????????? ??? ??? ????? ???????????? ????????, ??? ???. ??? ????? ?????????? ???????, ??? ??? ??? ???????? ? ????? ?????? ??????. ?? ??????? ????????? ? ????????. 17.06.2014 14:08, Andrey Chernomyrdin ?????: > ?? ? application/x-www-form-urlencoded ??? ? ???????? ????? ???-?? > ?????????????, ??? ??? ??????????? ??????? Denis Ibaev > ? ????? ???? ???? ????? ?????: > sub handle_request { > my ($self, $method, $uri, $hdr, $cont) = @_; > > $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); > > my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); > > if ($ctype eq 'multipart/form-data') { > $cont = $self->decode_multipart ($cont, $bound); > > } elsif ($ctype =~ /x-www-form-urlencoded/o) { > $cont = parse_urlencoded ($cont); > } > > $self->event (request => $method, $uri, $hdr, $cont); > } > ?? ???? ???? ? ????????? ???? x-www-form-urlencoded ?????? ???????? ??????? > ????????? ??? ???, ?????? ???? ?? ????????? - ????????? ????, ????????? ?? > ????????, ??? ? ????? ?? ???? (????? ????????? ?.?. ??????? ??-?????????) > > > 2014-06-17 13:50 GMT+04:00 Ruslan Kuksa >: > > ??????? ?? ??????. > > ??? ??? ?????. ??? ???????? ????? curl --data-binary, ?????? ?????????? > > print $req->content(); > > ? ??? ???? ? application/x-www-form-urlencoded? > ??? ???? ?????????????? > > 17.06.2014 13:03, Andrey Chernomyrdin ?????: > > ?????? content ????? ???????????? ????? ?????????? ???-?? ???? > XML/JSON,???????? ???? ??????? ?????? ????? ???????: > curl -s \ > -H 'Content-Type: text/xml' \ > -H 'SOAPAction: ""' \ > --data-binary ' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:api="http://localhost/api"> > ' > \ > http://localhost:9090/to-post > > ?? ? $req->content ???????? ??, ??? ???????? ? --data-binary > > > 2014-06-17 12:51 GMT+04:00 Denis Ibaev >>: > > > ? ???????????? ?? ???????: > > content - Returns the request content or undef if only parameters for > a form were transmitted. > > ? ??? Content-Type: application/x-www-form-urlencoded ?? ??????, ??? > ???? ?????????. ??? ????? ? > https://metacpan.org/source/ELMEX/AnyEvent-HTTPD-0.93/lib/AnyEvent/HTTPD/HTTPConnection.pm#L302 > > sub handle_request { > my ($self, $method, $uri, $hdr, $cont) = @_; > > $self->{keep_alive} = ($hdr->{connection} =~ /keep-alive/io); > > my ($ctype, $bound) = _content_type_boundary ($hdr->{'content-type'}); > > if ($ctype eq 'multipart/form-data') { > $cont = $self->decode_multipart ($cont, $bound); > > } elsif ($ctype =~ /x-www-form-urlencoded/o) { > $cont = parse_urlencoded ($cont); > } > > $self->event (request => $method, $uri, $hdr, $cont); > } > > > 17 ???? 2014 ?., 12:00 ???????????? Ruslan Kuksa > > >> ???????: > > > ????? ???? ?????? ?? AnyEvent, ????? ?????????? ???? ?????. > > ?????? ?????????? ?????? ?? ?????? ??????? POST: > > > > POST / HTTP/1.1 > > Host: localhost:8080 > > Accept: */* > > Content-Length: 1797 > > Content-Type: application/x-www-form-urlencoded > > Expect: 100-continue > > > > ??? ???????? ?? ????? 1797 ?????? ??????? > > ?????? ???????????? ????? ???????, ? ????? ??? ??? ????????, ?? ?? > ????? > > ???. (: > > -- > ????? ????? > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/spb-pm > > > > > -- > With best, Andrey Chernomyrdin > > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm > > > > > -- > With best, Andrey Chernomyrdin > > > _______________________________________________ > Spb-pm mailing list > Spb-pm at pm.org > http://mail.pm.org/mailman/listinfo/spb-pm