open-vault/http
Jeff Mitchell 00295cd598
Save the original request body for forwarding (#6538)
* Save the original request body for forwarding

If we are forwarding a request after initial parsing the request body is
already consumed. As a result a forwarded call containing a request body
will have the body be nil. This saves the original request body for a
given request via a TeeReader and uses that in cases of forwarding past
body consumption.
2019-04-05 14:36:34 -04:00
..
auth_token_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
cors.go
forwarded_for_test.go
forwarding_bench_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
forwarding_test.go Logger cleanup (#5480) 2018-10-09 09:43:17 -07:00
handler.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
handler_test.go make fmt 2019-02-20 12:12:21 -08:00
help.go The big one (#5346) 2018-09-17 23:03:00 -04:00
help_test.go
http_test.go Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
logical.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
logical_test.go core: handleLoginRequest should set resp.Auth.Orphan = true (#6335) 2019-03-04 14:32:09 -08:00
plugin_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
stub_assets.go
sys_audit_test.go
sys_auth_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
sys_config_cors_test.go
sys_generate_root.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
sys_generate_root_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
sys_health.go Add LastWAL in leader/health output (#5523) 2018-10-16 09:38:44 -04:00
sys_health_test.go
sys_init.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
sys_init_test.go
sys_internal_test.go
sys_leader.go Add LastWAL in leader/health output (#5523) 2018-10-16 09:38:44 -04:00
sys_leader_test.go
sys_lease_test.go
sys_mount_test.go make fmt 2019-02-20 12:12:21 -08:00
sys_mounts_test.go
sys_policy_test.go
sys_rekey.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
sys_rekey_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_rotate_test.go Add allowed_response_headers (#6115) 2019-02-05 16:02:15 -05:00
sys_seal.go Save the original request body for forwarding (#6538) 2019-04-05 14:36:34 -04:00
sys_seal_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
sys_wrapping_test.go
testing.go
unwrapping_raw_body_test.go
util.go The big one (#5346) 2018-09-17 23:03:00 -04:00