diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-06-19 15:12:34 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-06-19 15:12:34 +0000 |
commit | 8696fcd9042df7fbcf0f20340905a72160739daf (patch) | |
tree | 71e75696004eb4f6846d85afe4ddabac5b55bfd1 /ucb/source/ucp | |
parent | f2d096b3821a7427e12eb0ceae2511fdf5a7fddf (diff) |
INTEGRATION: CWS ucbfixes02 (1.6.48); FILE MERGED
2007/05/15 11:52:54 kso 1.6.48.1: #i77134# - HTTP header field names are case insensitive!
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/webdav/NeonHeadRequest.cxx | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/ucb/source/ucp/webdav/NeonHeadRequest.cxx b/ucb/source/ucp/webdav/NeonHeadRequest.cxx index 31968de8bc81..c3a9e62b5d35 100644 --- a/ucb/source/ucp/webdav/NeonHeadRequest.cxx +++ b/ucb/source/ucp/webdav/NeonHeadRequest.cxx @@ -4,9 +4,9 @@ * * $RCSfile: NeonHeadRequest.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: obo $ $Date: 2006-09-17 14:06:12 $ + * last change: $Author: kz $ $Date: 2007-06-19 16:12:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -93,12 +93,10 @@ static void process_headers(ne_request *req, if ( bIncludeIt ) { // Create & set the PropertyValue - beans::PropertyValue thePropertyValue; - thePropertyValue.Handle = -1; - thePropertyValue.Name = aHeaderName; - thePropertyValue.State = beans::PropertyState_DIRECT_VALUE; - - thePropertyValue.Value <<= aHeaderValue; + DAVPropertyValue thePropertyValue; + thePropertyValue.Name = aHeaderName; + thePropertyValue.IsCaseSensitive = false; + thePropertyValue.Value <<= aHeaderValue; // Add the newly created PropertyValue rResource.properties.push_back( thePropertyValue ); @@ -155,10 +153,9 @@ extern "C" void NHR_ResponseHeaderCatcher( void * userdata, if ( bIncludeIt ) { // Create & set the PropertyValue - beans::PropertyValue thePropertyValue; - thePropertyValue.Handle = -1; - thePropertyValue.Name = aHeaderName; - thePropertyValue.State = beans::PropertyState_DIRECT_VALUE; + DAVPropertyValue thePropertyValue; + thePropertyValue.Name = aHeaderName; + thePropertyValue.IsCaseSensitive = false; if ( nPos < aHeader.getLength() ) thePropertyValue.Value <<= aHeader.copy( nPos + 1 ).trim(); |