| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Comments:
<0> Schmooster: search perl.com <1> hehehe <1> i shall <2> PGE uses perl6 regex syntax to describe a language and return an AST, TGE transforms trees in various ways (to help you get to compiled code) <2> (or whatever you like actually) <0> Mahmoud: It's a sign from god to not parse form data manually <3> :) <4> From holy va'ar <0> DECFACE <5> buu.. I want to read HTTP Reuest header.. do you know any solution? <0> Mahmoud: Um. What? <1> I'm quite sure it's %ENV <6> i need to scrape the page but it seems to be compressed - what module can handle that? <0> isede: Compressed.. ho..w? <6> gzipped <5> buu, script.cgi on a web server recieves http requests from users and the script is supposed to read this header info and look for fields such as if-modified-since which don't appear in %ENV
<0> Mahmoud: They do appear in %ENV. <7> ijoyce: search.cpan.org, there's an Archives section or something <1> i told you that earlier, Mahmoud <6> buu: somnetimes yopu can see it with ethereal, streem is gzipped <0> Because apache will read all the headers before cgi ever gets to see them. <5> Schmooster.. $ENV{IF_MODIFIED_SINCE}; doesn't show any thing <0> isede: So tell the webpage not to send you gzipped data <0> Mahmoud: dump %ENV <1> I said HTTP_IF_MODIFIED_SINCE <6> buu: it's probably very simple - but i haver no idea how. question: how? <0> isede: Don't send 'accept: tgz' or whatever the damn header is. <4> Change your http_accept <5> Schmooster, Yeah, $ENV{HTTP_IF_MODIFIED_SINCE} doesn't work <6> buu boat : thank you <7> Heh, a buuboat <1> and then I said it's probably because it's not there all the time. do some research <0> My point was, don't do something the module isn't going to od. <0> Jesus christ these cookies are good <7> What kind? <1> any Brand? <2> Did jesus bless them? <0> Entenmanns <8> quick question with cgi, i create a .cgi program and try loading it on a browser. it shows me the exact code rather generate the html . any ideas? <2> Were they made with holy water? <0> Milk Chocolate Chip Cookies <6> Entemanns start all the wars <2> gasoline: reconfigure your server to do the right thing <0> gasoline: Fix your webserver. <1> gasoline, web-server's not configured correctly <7> gasoline: Server config issue <1> hehehe <8> ha <8> geez <5> buu, 500 error <1> with what, Mahmoud <5> Schmooster, with dump %ENV <0> Mahmoud: Fix it. <1> god <0> And don't literally type that <1> use Data::Dumper; print Dumper(%ENV); <5> buu, said that :P <5> and there is a function called bump <7> Usually better to do something like \%ENV, so you see the datastruct right <5> dump* <1> http://learn.perl.org/ <0> Mahmoud: Yeah, and do you know what it does? <1> http://bfr.caseywest.com/ <8> what do i change in httpd.conf? <1> that may help you, Mahmoud <5> buu, not exactly <9> gasoline, #apache <1> gasoline, it depends, there's a lot of options :/ <5> Schmooster, i'm reading it.. regarding your last commands (dmper), it shows lots of stuff but doesn't include if-modified-since <8> nvm, got it <1> that's becasuse it's not always there! <5> Schmooster, in what cases it's there? <0> Mahmoud: Try reading the HTTP RFC. <0> Which covers this in excruciatingly mind destroying detail. <8> i haven't been putting it in cgi-bin dir <1> it depends if the server's supporting it, I'm guessing
<5> buu, the client IS sending if-modified-since.. ethereal shows it <0> And it *isn't* in %ENV? <10> it seems cookies with '-' in them cause problems... <1> that's the client <5> buu, exactly <7> Well, I wouldn't want any dashes crowding my chocolate chips. <11> and for the record, chris, I'm perfectly aware of how the bot works, thanks :) <11> except for the few times I've broken it... and didn't bother to look at the source :p <11> pfft, it's not my crappy plugins ;) <0> YEAH <0> BECAUSE YOU NEVER SEND ME ANy <1> buu == chris? <0> YES <0> AGAIN <1> apologies, didn't catch that before <12> hi all <1> no <1> :P <1> hey there <12> is this working for you ? <12> http://www.roth.net/perl/packages/Win32-Daemon.ppd <13> I'm reading perldoc WWW::SearchResult ; is there a way to print out the docs ? <1> cam: you mean on paper? <12> can you open the link ? I can't access that site from here <14> I prefer to print on wombat skin <1> can't find the server, aceMe <1> i don't like printing. the only time I do that is for invoices, if I'm forced to <13> Schmooster, yes on papier <12> thank you <0> cpan: WWW::SearchResult <15> WWW::SearchResult - - http://search.cpan.org/~MTHURN/WWW-Search-2.485/lib/WWW/SearchResult.pm <14> buubot is so useful <14> not to mention handsome <1> hmmm <0> Yay <0> dec: My cpan thingy is brokenalizer now =[ <1> plainly CPAN is broken then :P <0> I should just use search.cpan.org/perldoc?foo <14> why is it broken ? <0> dec: My minicpan update is failing <1> dec: try the last link <0> And I thi nk I lost the script that does db updating <14> buubot: shorten that <1> ah, mayby you meant from the other side :) <0> er <14> buubot: shorten http://search.cpan.org/~MTHURN/WWW-Search-2.485/lib/WWW/SearchResult.pm <15> dec: Couldn't shorten it, dec. <15> dec: Found nothing that matched <15> dec: Couldn't shorten it, dec. <14> I take it back <0> =[ <14> buubot is not helpful <0> xrl might be down <1> awww, he just needs a cuddle, eh buu? <1> he/it <0> Yeah <0> buubot: shorten google.com <15> buu: Couldn't shorten it, buu. <14> shorten http://google.com <0> Hrm. <14> buubot: shorten http://google.com <15> dec: http://xrl.us/lmc <14> WOOTIES <16> shouldn't a shorten service refuse to shorten something if the result isn't actually shorter? <0> Heh <0> Anyway, it wouldn't shorten the cpan url because it can't see it <0> buubot: shorten <0> http://search.cpan.org/~MTHURN/WWW-Search-2.485/lib/WWW/SearchResult.pm <15> buu: shorten is a bot, isn't it ? <0> bah <0> buubot: shorten http://search.cpan.org/~MTHURN/WWW-Search-2.485/lib/WWW/SearchResult.pm <15> buu: Found nothing that matched <15> buu: Couldn't shorten it, buu.
Return to
#perl or Go to some related
logs:
#asm #ubuntu #web fedora Software Updater hfs-tools ebuild #perl gcc-4.3 xterm pnpbios-tools prototype NS_ERROR_NOT_AVAILABLE #debian
|
|