#159 SOAP 1.2 Content-Type rejected

Protocol (8)

SOAP::Lite does not accept http requests with Content-Type set to
'application/soap+xml', which is the content type used by SOAP 1.2.

Also, the SOAP::Constants::DO_NOT_CHECK_CONTENT_TYPE flag is not respected when
proccessing SOAP request as SOAP server. For example if an instance of
SOAP::Transport::HTTP::Daemon is created, the value of DO_NOT_CHECK_CONTENT_TYPE
is ignored.

The attached patch adds 'application/soap+xml' to accepted content-type. It
also checks the value of DO_NOT_CHECK_CONTENT_TYPE, and skips the check if set,
as described in Constants.pod.

Please consider applying.



  • Martin Kutter

    Martin Kutter - 2009-05-02

    Applied in SVN in rev315 / rev316

  • Martin Kutter

    Martin Kutter - 2009-09-29

    fixed in rev 315

    Thanks !

  • Martin Kutter

    Martin Kutter - 2009-09-29
    • status: open --> pending-fixed
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks