|
Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/ Set by moderator on 15 March 2018. |
|||
|
02:58
ilbot3 joined
|
|||
| moderator | Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/ | ||
|
06:31
titsuki_ joined
12:35
araraloren joined
|
|||
| araraloren | Hi | 12:36 | |
| How can I know the current uri after GET of Cro::HTTP::Client ? | 12:37 | ||
| anyone here ? | |||
| lizmat | araraloren: I think there are people here, but maybe all off to lunch? | 12:49 | |
| I'm afraid In can't answer your question offhand :-( | |||
| araraloren | oh :) | ||
| Hmm, I use WWW::Mechanize in perl5 | 12:50 | ||
| grab something from the net | 12:51 | ||
| Is there something similiar with WWW::Mechanize in Perl6 | |||
| lizmat | not yet, afaik, it's high on the WANTED list | 12:53 | |
| araraloren | oh, it is :) | 12:54 | |
| jnthn | araraloren: I think you can all .request on the response object, and that has a .target property | 13:23 | |
| Is the use case forwards? | 13:25 | ||
| ('cus without that then you provided the request URI in the first place :)) | |||
| araraloren | jnthn, seems like it return Nil | 13:27 | |
| jnthn | .request, or .target? | 13:28 | |
| It's possible we're just not setting request on that path, I guess | |||
| araraloren | let me try again :) | 13:29 | |
| jnthn :( I faced a URI parse error | 13:30 | ||
| Unable to parse URI 'home.do;jsessionid=EA96E917C67936B47D44DC5B789CAD5D?Init=Yes&SrcApp=CR&SID=5DQbpprD1qRSndU8kxB': Missing : after scheme | 13:31 | ||
| jnthn | Oh, right... .target is not the URI, it's the target of the request | ||
| That is, the part from the request header | |||
| araraloren | oh | ||
| jnthn | I guess there's not yet a way to get the other part. Please file a feature request issue, I'll see how we can do that. | 13:32 | |
| araraloren | ok | ||
| jnthn and what about the URI parse error ? | 13:38 | ||
| should I setup a issue too ? | 13:39 | ||
| jnthn | Where did the URI parse error come from? | 13:40 | |
| I mean, the thing you pasted is not a valid URI | 13:41 | ||
| araraloren | apps.webofknowledge.com/UA_GeneralS...ZpsbEcqRIK | ||
| I think its the url | |||
| oh , not this one, I can not get current uri :( | 13:42 | ||
|
15:05
sena_kun joined
15:27
araraloren_ joined
16:50
araraloren_ joined
16:59
araraloren_ joined
17:36
FROGGS joined
20:46
stmuk joined
|
|||