diff --git a/repository/Zinc-Seaside.package/ZnZincServerAdaptor.class/instance/requestHeadersFor..st b/repository/Zinc-Seaside.package/ZnZincServerAdaptor.class/instance/requestHeadersFor..st index c174a0f70..b667a66d9 100644 --- a/repository/Zinc-Seaside.package/ZnZincServerAdaptor.class/instance/requestHeadersFor..st +++ b/repository/Zinc-Seaside.package/ZnZincServerAdaptor.class/instance/requestHeadersFor..st @@ -3,5 +3,10 @@ requestHeadersFor: aZincRequest | fields | fields := Dictionary new. aZincRequest headersDo: [ :key :value | - fields at: key asLowercase put: value ]. + | keyLowercase combinedValue | + keyLowercase := key asLowercase. + combinedValue := fields at: keyLowercase + ifPresent: [ :presentValue | presentValue , ',' , value ] + ifAbsent: [ value ]. + fields at: keyLowercase put: combinedValue ]. ^ fields \ No newline at end of file