Re: Server-Timing filter goodie
Esteban Maringolo <[email protected]> Fri, 10 Jul 2020 12:39:20 -0300
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAJMgPC+YHJ-ujzJ6re1G3wWU-HLNjK5RUi6pN=D9wEO903pCAg@mail.gmail.com> |
Should I create an issue in the Zinc repository then? Regards! Esteban A. Maringolo On Fri, Jul 10, 2020 at 12:30 PM Sven Van Caekenberghe <[email protected]> wrote: > > > > > On 10 Jul 2020, at 15:48, Esteban Maringolo <[email protected]> wrote: > > > > Note: I think there is a bug in the conversion of the headers from a > > WAResponse to ZnResponse in ZnZincServerAdaptor, since if there are > > several headers with the same name in aWAResponse, but only the last > > one remains in ZnResponse, because it does an `at:put` instead of > > adding several headers or merging them all together (as with the > > 'Set-Cookie' header). > > Yes, from the first look of it, that seems to be correct. > > In ZnZincServerAdaptor>>#responseFrom: aRequestContext > > partialHeaders keysAndValuesDo: [ :key :value | > fullHeaders at: key put: value greaseString ]. > > should be > > partialHeaders keysAndValuesDo: [ :key :value | > fullHeaders at: key add: value greaseString ]. > > Sven > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside