in reply to Re^4: LWP: transfer from Python to Perl
in thread LWP: transfer from Python to Perl
I added $request->content_type('application/x-www-form-urlencoded'); and some other minor things, but still error 500. The only difference (what I can see now) is now:
Can this be the reason? How can I influence TE and Connection ? I addedUser-Agent: Python-urllib/3.6 Connection: close TE: deflate,gzip;q=0.3 Connection: close,TE User-Agent: libwww-perl/6.26
but than Connection changed from :${${$request}{'_headers'}}{'Connection'}='close';</p><p>
Connection: TE,close to Connection: close,TE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: LWP: transfer from Python to Perl
by hippo (Archbishop) on Jan 11, 2018 at 09:29 UTC | |
by Anonymous Monk on Jan 11, 2018 at 20:59 UTC |