Re: It's simple code but I got 400 URL must be absolute and it says it's a Internal response
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 Dec 2005 16:04:15 GMT
sisapinusa@xxxxxxxxx wrote in news:1134056008.819387.51320
@z14g2000cwz.googlegroups.com:
> Thank you guys very much.
> But there is one more strange.
>
> I tried below line, and it works find.
> $req = HTTP::Request->new(GET => 'http://kihong.dev003.ent/performers
> HTTP/1.1');
You must think that you can just keep on making stuff up until it works.
Note that the string " HTTP/1.1" in your request does *not* specify the
protocol to use.
> I got HTTP below header as I expected
> HTTP/1.1 302 Moved Temporarily
> Server: Zeus/4.3
> Date: Wed, 07 Dec 2005 21:53:18 GMT
> Set-Cookie: SC=okay; domain=kihong.dev003.ent
> Content-Length: 212
> Location: /performers/?SC=C
It appears that the correct URL is
http://kihong.dev003.ent/performers/
The trailing slash matters.
> But I want to know why. Is it Zeus server problem? or..
Since you haven't told us the correct URL, we cannot observe how the
server behaves.
In the absence of any concrete information, it is a safe bet to assume
that you are doing something wrong.
> If you guys have any idea, pleaaase let me know..
> Please...
Whining and pleas rarely elicit sympathy, but mainly serve to annoy
people.
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.
- References:
- Prev by Date: Re: It's simple code but I got 400 URL must be absolute and it says it's a Internal response
- Next by Date: Re: perl 5.6.1 and Encode.pm
- Previous by thread: Re: It's simple code but I got 400 URL must be absolute and it says it's a Internal response
- Next by thread: FAQ 3.14 How can I use X or Tk with Perl?
- Index(es):
Relevant Pages
|