From: Wanna-Be Sys Admin on
Permostat wrote:

> We don't like socialists in our newsgroup. We'll be seeing not again
> commie.
>
> PERMO

If you're going to post nonsense, you could at least snip the text. We
all know you're know Shendley, so your efforts are in vain (it'll just
win more support for the person you're attempting to harass).
--
Not really a wanna-be, but I don't know everything.
From: Permostat on
On Jan 7, 6:37 pm, Wanna-Be Sys Admin <sysad...(a)example.com> wrote:
> Permostat wrote:
> > We don't like socialists in our newsgroup. We'll be seeing not again
> > commie.
>
> > PERMO
>
> If you're going to post nonsense, you could at least snip the text.  We
> all know you're know Shendley, so your efforts are in vain (it'll just
> win more support for the person you're attempting to harass).
> --
> Not really a wanna-be, but I don't know everything.

What efforts?? I've already proven my point & and he knows what it is.
Now it's just entertainment for me. I am above nearly every single
person I come in contact with in every conceivable way. Nearly
everybody on this planet is the nexus of my next laugh. Give me break.

PERMO
From: Wanna-Be Sys Admin on
Permostat wrote:

> On Jan 7, 6:37 pm, Wanna-Be Sys Admin <sysad...(a)example.com> wrote:
>> Permostat wrote:
>> > We don't like socialists in our newsgroup. We'll be seeing not
>> > again commie.
>>
>> > PERMO
>>
>> If you're going to post nonsense, you could at least snip the text.
>> We all know you're know Shendley, so your efforts are in vain (it'll
>> just win more support for the person you're attempting to harass).
>> --
>> Not really a wanna-be, but I don't know everything.

It's improper to quote signatures.

> What efforts??

This, that, what you've done. It takes some effort to bother pretending
to be someone else.

> I've already proven my point & and he knows what it is.

You've made no point, you've only posted as someone else and shown you
don't know how to quote messages on usenet. How does that make him
look bad?

> Now it's just entertainment for me.

That's kind of sad.

> I am above nearly every single
> person I come in contact with in every conceivable way.

I suppose you are welcome to believe that so long as you make a claim,
that it makes it true in your own mind, but that sort of logic doesn't
work too well in real life, when it's more than just self esteem.

> Nearly
> everybody on this planet is the nexus of my next laugh.

Are you the guy that wrote the time travel watch spam?

> Give me break.

I'll be happy to break whatever.
--
Not really a wanna-be, but I don't know everything.
From: J�rgen Exner on
Permostat <pshendley(a)gmail.com> wrote:
[nothing of any significance]

*PLONK*

jue
From: Graham on

"C.DeRykus" <derykus(a)gmail.com> wrote in message
news:00278b64-a0f5-4042-8ae8-e1b1f3124adb(a)v25g2000yqk.googlegroups.com...
On Jan 7, 9:39 am, "Graham" <graham.s...(a)stowassocs.co.uk> wrote:
> ...
>
> A POST will require a valid content-length header IIRC.
>
> > $req->content($query);
> > $res = $ua->request($req);
>
> Where is your request $query above defined?
>
> $query is defined in the following line near the top of the script:-
> read (STDIN, $query, $ENV{'CONTENT_LENGTH'});
>
> You can check the actual request to ensure that the
> request has valid headers and the $query content is
> getting set and passed to the server correctly.
>
> print $req->as_string;
>
> adding the following lines:-
>
> $request_as_string = $req->as_string;
> print "request_as_string = $request_as_string\n";
>
> produced the following output:-
>
> 'request_as_string = POSThttps://www.nochex.com/nochex.dll/apc/apc
> User-Agent: libwww-perl/5.79
> Content-Type: application/x-www-form-urlencoded'Notably, there is no
> mention
> of any $query content, so I guess there isn't any! However, is that
> because
> none is being provided in the call-back, or am I just not finding it
> somehow?

There's a major problem then because you're sending no content
in the POST. The code you posted shows:

read (STDIN, $query, $ENV{'CONTENT_LENGTH'});

So the intent is to pick up the correct form pairs from the
user via STDIN to supply the POST content. Adding this check
would be a good idea:

my $len = read( STDIN, $query, $ENV{'CONTENT_LENGTH'})
or die "error: ", defined $len ? "no content" : $!;


As mentioned earlier, 'use LWP::Debug qw/+/' will providevoluminous
> details about the transaction too.Unfortunately, the CPAN write up on
> LWP::Debug doesn't give me enough information to figure out how to apply
> it.

It's applied automatically if added as is.

(This thread is probably better continued in the
libwww-perl mailing list. Check Google for details.)

--
Charles DeRykus

Checking the enironmental variables, $ENV{'REQUEST_METHOD'} = GET and there
is no query string, so that explains why $query is empty! Looks like the
problem wasn't with the script (although it wasn't perfect), but with
Nochex - what a lot of numpties! Still, I should have checked all these
issues before bothering folk, so apologies. I'll leave it here.
---
Graham