PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_WebDAV_Client » Bug #1044

Get Headers Problem

Details

Submitted2004-03-21 02:01 UTC
Fromice-k at amnesty dot scene dot pl
StatusDuplicate
PackageHTTP_WebDAV_Client
PHP Version5.0.0b4 (beta4)
OSFreeBSD
Roadmaps(Not assigned)

Comments

[2004-03-21 02:01 UTC] ice-k at amnesty dot scene dot pl

Description:
------------
_processHeader
dont take into account many this sames headernames

Reproduce code:
---------------
Response from my server is

DAV: 1,2
DAV: version-control,checkout, checkin, report
DAV: uncheckout,version-controlled-collection
DAV: <http://apache.org/dav/propset/fs/1>
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,VERSION-CONTROL,SEARCH
DASL: <DAV:basicsearch>
Content-Length: 0
MS-Author-Via: DAV

Expected result:
----------------

in result i have only one DAV headername
suggest to add getResponseHeaderBody
or better solution is needed

Actual result:
--------------
?

[2004-03-21 02:05 UTC] ice-k at amnesty dot scene dot pl

i have a problem from WebDav PEAR client to fetch OPTIONS like DAV:1,2