Versions make THAT much of a difference?
"Tuc at T-B-O-H.NET" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <200712290556.lBT5uI8k047164@himinbjorg.tucs-beachin-obx-house.com> |
Hi, SYSTEM H: FreeBSD 5.5-STABLE perl v5.8.8 built for i386-freebsd-thread-multi-64int libwww-perl-5.805 SYSTEM S: Centos Linux 2.6.9-42.0.10.EL perl v5.8.5 built for i386-linux-thread-multi libwww-perl-5.79 Trying to run : POST -C root:password -u -U -s -S -e http://192.168.2.53:9090/axis-cgi/com/ptz.cgi With the input of : gotoserverpresetname=Camary+Due+East&camera=1 and then Ctrl-D to terminate after the new line. SYSTEM H reply : POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi Authorization: Basic co9voDpiZWiicmileiU= User-Agent: lwp-request/2.07 Content-Length: 46 Content-Type: application/x-www-form-urlencoded POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi --> 401 Unauthorized POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi --> 204 No Content Client-Date: Sat, 29 Dec 2007 05:36:58 GMT Client-Peer: 192.168.2.53:9090 Client-Response-Num: 1 Which is what I expect. I need the 204 in this case. Weird but true. SYSTEM S reply : POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi Authorization: Basic co9voDpiZWiicmileiU= User-Agent: lwp-request/2.06 Content-Length: 46 Content-Type: application/x-www-form-urlencoded POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi --> 401 Unauthorized POST http://192.168.2.53:9090/axis-cgi/com/ptz.cgi --> 200 EOF Client-Date: Sat, 29 Dec 2007 05:36:10 GMT Client-Peer: 192.168.2.53:9090 Client-Response-Num: 1 Which ISN'T the right reply, it actually doesn't do what I want. Are the 2 versions of perl/LWP so diverse to cause that? Or is there something deeper I should check? Thanks, Tuc