erp5_oauth2_authorisation: Store more HTTPResponse headers using setHeader
During the response process (especially setBody), HTTPResponse accesses and updates some response headers in its "headers" property (a dictionary). addHeader puts the response headers in a list which will not be updated by HTTPResponse. This is "more correct" from an RFC perspective, as any header specified as being a sequence of values delimited by commas may be split among multiple headers. So, keep using addHeader by default, but special-case some headers which are accessed and must be successfully updated by HTTPResponse itself so that those headers are set using setHeader, which updates the "headers" property.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#608393
external
|
ERP5.CodingStyleTest-Master |
01:00:05
|
||||||
failed |
#608396
external
|
ERP5.PerformanceTest-Master |
00:27:39
|
||||||
failed |
#608392
external
|
ERP5.UnitTest-Master |
01:35:53
|
||||||
failed |
#608443
external
|
ERP5.UnitTest-Zope2 |
01:59:07
|
||||||
passed |
#608465
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:16:22
|
||||||
passed |
#608478
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:50
|
||||||
passed |
#608439
external
|
Wendelin.UnitTest-Master |
00:58:00
|
||||||
failed |
#608351
external
retried
|
ERP5.CodingStyleTest-Master |
00:45:57
|
||||||
failed |
#608356
external
retried
|
ERP5.PerformanceTest-Master |
00:28:02
|
||||||
failed |
#608353
external
retried
|
ERP5.UnitTest-Master |
01:52:41
|
||||||
failed |
#608358
external
retried
|
ERP5.UnitTest-Zope2 |
03:19:48
|
||||||
passed |
#608430
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:58
|
||||||
passed |
#608327
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:51
|
||||||
passed |
#608417
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:10
|
||||||
passed |
#608341
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:52
|
||||||