Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-01-13 01:18:21 +03:00
parent fb21516a5c
commit 11da5b59db
6 changed files with 304 additions and 219 deletions

View File

@@ -30,8 +30,8 @@ func (c *testServiceClient) TestEndpoint(ctx context.Context, req *Request, opts
v3.Path("/users/test"),
)
opts = append(opts,
v3.Cookie("csrftoken", "true"),
v3.Header("client_uid", "true"),
v3.Cookie("csrftoken", "true"),
)
rsp := &Response{}
err := c.c.Call(ctx, c.c.NewRequest(c.name, "TestService.TestEndpoint", req), rsp, opts...)