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 9cb8fb6ea0 )
Signed-off-by: Victor Vieux <vieux@docker.com >
2016-09-26 19:35:37 -07:00
..
2016-03-21 10:56:09 -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-02-24 11:00:47 -08:00
2016-06-07 18:45:27 -07:00
2016-01-29 23:39:07 +08:00
2016-07-12 15:50:18 -07:00
2016-01-26 20:23:40 -08: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-02-03 10:43:01 -08:00
2016-02-28 13:48:15 +01:00
2016-05-25 13:32:48 -07:00
2016-02-11 07:31:49 -08:00
2016-09-26 19:35:37 -07:00
2016-07-08 15:31:42 -07:00
2016-02-18 16:10:29 -05:00
2016-07-08 15:32:14 -07:00
2016-02-29 19:28:37 +08:00
2016-02-25 14:12:17 -05:00
2016-06-02 17:17:22 +08:00
2016-02-18 14:44:13 -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-03-08 10:54:18 +08:00
2016-02-09 09:31:09 +02: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-01-29 23:39:07 +08:00
2016-08-11 19:39:52 -07:00
2016-02-24 13:33:25 -08:00
2016-07-25 23:17:08 -07:00
2016-03-16 09:00:39 +01:00
2016-03-29 10:04:59 -07:00
2016-03-21 11:05:58 -04:00
2016-05-06 20:42:20 -04:00
2016-01-29 23:39:07 +08: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-02-11 22:13:47 +00:00
2016-02-25 14:12:17 -05: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-03-21 10:56:49 -07:00
2016-07-08 15:32:22 -07:00
2016-03-21 14:31:47 -07:00
2016-06-30 16:47:48 -07:00
2016-04-26 19:22:48 +08:00
2016-02-03 10:56:19 -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-02-02 19:56:31 -08: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-03-14 12:49:24 +01:00
2016-04-01 10:32:46 +08:00
2016-03-14 17:09:25 +02:00
2016-03-01 11:52:32 -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-03-02 14:22:51 -08:00
2016-03-02 14:22:51 -08:00
2016-01-11 20:16:13 +01:00
2016-07-25 23:18:15 -07:00
2016-03-08 07:55:01 -08:00
2016-07-08 15:32:13 -07:00
2016-01-27 08:48:08 -08:00
2016-03-11 14:48:52 -08:00
2016-05-07 14:25:28 -07:00
2016-02-03 15:16:00 +01:00