in reply to Re: Basic HTTP problems
in thread [SOLVED] Basic HTTP problems
Consider inspecting the actual data that goes over the wire. The tcpdump output does not show the data.
You want to print the request from both programs and compare that. Either create the POST request separately and dump it (using HTTP::Request::Common maybe):
print $req->as_string;
... or add dumping of sent and received data:
$ua->add_handler("request_send", sub { shift->dump; return }); $ua->add_handler("response_done", sub { shift->dump; return });
I'm sure that Python also has ways to show the data that goes out and comes back in.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Basic HTTP problems
by Bolemo (Acolyte) on Feb 05, 2021 at 17:10 UTC | |
|
Re^3: Basic HTTP problems
by Anonymous Monk on Feb 05, 2021 at 19:27 UTC | |
by Bolemo (Acolyte) on Feb 05, 2021 at 19:45 UTC | |
by Fletch (Bishop) on Feb 05, 2021 at 20:32 UTC |