Roman Noverlan wrote:
Hi all.
I use Perl and upload functions of MediaWiki::API and MediaWiki::Bot modules
(last version).
Bots don't work - returned "HTTP::Message content must be bytes at
/usr/local/share/perl/5.10.0/HTTP/Request/Common.pm line 91".
OS is Debian Linux.
How to resolve this issue?
--
Roman Noverlan
Can you provide the http sent and the answer from the server?
Tipically I would capture it using wireshark, then copy the contents,
remove any sensitive data (eg. replace the content of session cookies)
and strip the actual file content if it is too big.
Note that just looking at the server response may point you to the
problem better than the high-level error.