10764: Test v0 session.
[arvados.git] / sdk / go / arvados / client.go
index 8319b5da3b1ce2b9e2b0d8f92d6a5c4d6e96b422..9691e7a07e475668cc73a80dffba466addb3b4ef 100644 (file)
@@ -181,6 +181,7 @@ func (c *Client) RequestAndDecode(dst interface{}, method, path string, body io.
        if err != nil {
                return err
        }
+       req.Header.Set("Content-type", "application/x-www-form-urlencoded")
        return c.DoAndDecode(dst, req)
 }