Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 120680
Status: new
Priority: 0/
Queue: SOAP-Lite

Owner: Nobody in particular
Requestors: andreas.j.fuchs [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Issue with HTTP request header has 3 "Accept" fields-> there should only be one "Accept" field with a comma separated list
Date: Tue, 21 Mar 2017 13:58:16 +0000
To: "bug-SOAP-Lite [...]" <bug-SOAP-Lite [...]>
From: "Fuchs, Andreas" <andreas.j.fuchs [...]>
Download (untitled) / with headers
text/plain 761b
Dear Development, We have identified an issue in the file: according the RFC there should be only one HTTP header field with the name "Accept" but the current implementation assigns an array with 3 values: $http_request->header(Accept => ['text/xml', 'multipart/*', 'application/soap']); And this produces 3 accept entries in the HTTP request accept: text/xml accept: multipart/* accept: application/soap Please change the implementation and assign only a string (comma separated list of values) to the accept field: $http_request->header(Accept => "text/xml, multipart/*, application/soap" ); This change would produce only one accept entry in the HTTP request accept: text/xml, accept: multipart/*, application/soap Best regards, Andreas Fuchs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to