In the perl version the server response with an Error 500 Internal Server Error.
Without further details the best guess would be that you have not set the Content-Type header correctly (or at all). It also looks like you are attempting to set headers with leading underscores in the key. That's not going to work either.
Can I log what was exactly sent
Listen on the wire; see tcpdump for that. Otherwise use $request->dump.
In reply to Re^2: LWP: transfer from Python to Perl
by hippo
in thread LWP: transfer from Python to Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |