Yong Tang
f2a48d2ff3
Fix AuthZ plugins headers change issue
...
This fix tries to address the issue raised in 25927 where
the HTTP headers have been chaged when AUthZ plugin is in
place.
This issue is that in `FlushAll` (`pkg/authorization/response.go`),
the headers have been written (with `WriteHeader`) before all the
headers have bee copied.
This fix fixes the issue by placing `WriteHeader` after.
A test has been added to cover the changes.`
This fix fixes 25927
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
(cherry picked from commit 9cb8fb6ea03fcd78010ce7dd33585d96cd73e38c)
Signed-off-by: Victor Vieux <vieux@docker.com >
2016-09-26 19:35:37 -07:00
..
2016-03-23 14:42:52 -07:00
2016-07-25 23:18:03 -07:00
2016-07-08 15:32:22 -07:00
2016-08-16 16:11:10 -07:00
2016-08-17 14:19:31 -07:00
2016-06-13 22:16:18 -07:00
2016-06-07 18:45:27 -07:00
2016-06-05 08:39:06 +02:00
2016-07-25 23:15:11 -07:00
2016-06-07 18:45:27 -07:00
2016-06-07 18:45:27 -07:00
2016-07-12 15:50:18 -07:00
2016-06-07 18:45:27 -07:00
2016-04-15 12:48:01 +02:00
2016-06-07 18:45:27 -07:00
2016-06-18 20:58:23 -07:00
2016-05-23 19:00:19 -07:00
2016-05-04 20:46:41 +02:00
2016-08-11 17:56:45 -07:00
2016-06-13 22:16:18 -07:00
2016-05-25 13:32:48 -07:00
2016-09-26 19:35:37 -07:00
2016-07-08 15:31:42 -07:00
2016-07-08 15:32:14 -07:00
2016-06-02 17:17:22 +08:00
2016-06-07 14:11:11 +02:00
2016-08-11 19:40:06 -07:00
2016-06-30 16:47:53 -07:00
2016-06-06 13:58:29 +02:00
2016-08-11 17:56:43 -07:00
2016-06-30 16:47:51 -07:00
2016-05-25 13:32:48 -07:00
2016-07-08 15:31:42 -07:00
2016-06-05 15:37:15 -04:00
2016-09-26 19:35:24 -07:00
2016-06-07 22:19:16 +08:00
2016-06-02 17:17:22 +08:00
2016-06-01 09:44:25 -07:00
2016-05-23 15:34:40 -07:00
2016-06-30 16:47:51 -07:00
2016-06-16 23:36:56 -07:00
2016-08-11 19:39:52 -07:00
2016-07-25 23:17:08 -07:00
2016-03-29 10:04:59 -07:00
2016-05-06 20:42:20 -04:00
2016-06-02 17:17:22 +08:00
2016-07-12 15:50:38 -07:00
2016-05-10 11:28:00 -07:00
2016-04-14 16:22:16 -07:00
2016-08-11 17:56:44 -07:00
2016-08-11 17:56:47 -07:00
2016-05-19 17:52:42 -05:00
2016-05-02 18:14:13 -07:00
2016-07-08 15:32:22 -07:00
2016-06-30 16:47:48 -07:00
2016-04-26 19:22:48 +08:00
2016-06-05 22:40:35 +02:00
2016-08-11 19:39:52 -07:00
2016-07-08 15:31:44 -07:00
2016-06-08 17:17:05 +02:00
2016-04-12 22:45:42 -04:00
2016-06-03 19:50:01 +02:00
2016-07-08 15:32:30 -07:00
2016-07-25 23:24:47 -07:00
2016-07-25 23:24:47 -07:00
2016-07-27 11:20:25 -07:00
2016-06-30 16:47:37 -07:00
2016-04-13 16:36:34 -04:00
2016-04-10 15:39:28 +08:00
2016-08-16 16:11:10 -07:00
2016-06-01 09:44:25 -07:00
2016-04-01 10:32:46 +08:00
2016-05-31 14:41:37 -07:00
2016-03-25 10:02:52 -04:00
2016-06-01 22:25:17 +08:00
2016-06-01 22:25:17 +08:00
2016-03-24 16:19:59 -07:00
2016-06-02 17:17:22 +08:00
2016-05-26 13:14:35 +02:00
2016-07-08 15:31:42 -07:00
2016-06-11 15:37:36 -07:00
2016-07-25 23:18:15 -07:00
2016-07-08 15:32:13 -07:00
2016-05-07 14:25:28 -07:00