From: Stanislav Yadykin <tosick@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Apache или perl?
Date: Mon, 27 Sep 2004 17:39:48 +0300
Message-ID: <200409271739.58366.tosick@altlinux.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
Добрый день!
Вопрос, в общем-то, к знатокам и первого и второго.
Написан SOAP-сервер с использованием SOAP::Lite, стоит хендлером модуль,
содержащий
my $result = SOAP::Transport::HTTP::CGI
-> serializer(DP::SOAP::Serializer->new)
# DP::SOAP::Serializer просто враппер над SOAP::Serializer
-> dispatch_to('/var/www/print.lg.ua/libs', 'DP::SOAP')
-> handle(@_);
open(F, ">/tmp/soap.log");
print F $result;
close(F);
print $result;
Сам SOAP::Transport::HTTP::CGI ничего не возвращает, а печатает все на STDOUT,
но я немного изменил его и он просто отдает результат.
Вот, собственно, в чем проблема: в файл soap.log кладутся бинарные данные с
использованием MIME::Entity (собирается и "пришивается" SOAP Attachment) в
том виде, как они должны быть, а вот сервер отдает все данные (в том числе и
бинарные) сконвертированные в UTF-8.
В апаче отключен mod_charset.
Кто-нибудь встречался с таким глюком|фичей, и как это лечится? И кто виноват,
сабж?
Apache: Server version: Apache/1.3.31 (ALT Linux/alt10)
Perl: v5.8.4 built for i386-linux-thread-multi
SOAP::Lite: 0.60a
--
Stanislav Yadykin
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2004-09-27 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 14:39 Stanislav Yadykin [this message]
2004-09-28 7:42 ` Stanislav Yadykin
2004-10-22 12:32 ` Stanislav Yadykin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200409271739.58366.tosick@altlinux.ru \
--to=tosick@altlinux.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git