{"action":"created","issue":{"url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/15","repository_url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go","labels_url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/15/comments","events_url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/15/events","html_url":"https://github.com/1and1/oneandone-cloudserver-sdk-go/pull/15","id":257736389,"number":15,"title":"restclient: Allow passing custom HTTP transport","user":{"login":"radeksimko","id":287584,"avatar_url":"https://avatars1.githubusercontent.com/u/287584?v=4","gravatar_id":"","url":"https://api.github.com/users/radeksimko","html_url":"https://github.com/radeksimko","followers_url":"https://api.github.com/users/radeksimko/followers","following_url":"https://api.github.com/users/radeksimko/following{/other_user}","gists_url":"https://api.github.com/users/radeksimko/gists{/gist_id}","starred_url":"https://api.github.com/users/radeksimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeksimko/subscriptions","organizations_url":"https://api.github.com/users/radeksimko/orgs","repos_url":"https://api.github.com/users/radeksimko/repos","events_url":"https://api.github.com/users/radeksimko/events{/privacy}","received_events_url":"https://api.github.com/users/radeksimko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-14T14:17:32Z","updated_at":"2017-09-15T06:43:33Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/pulls/15","html_url":"https://github.com/1and1/oneandone-cloudserver-sdk-go/pull/15","diff_url":"https://github.com/1and1/oneandone-cloudserver-sdk-go/pull/15.diff","patch_url":"https://github.com/1and1/oneandone-cloudserver-sdk-go/pull/15.patch"},"body":"## Why\r\n\r\nWe'd like to be able to debug communication between the API and client and passing transport is a common way to do it.\r\n\r\n## Where we plan to use it\r\n\r\nIn the 1&1 Terraform provider:\r\nhttps://www.terraform.io/docs/providers/oneandone/index.html\r\nhttps://github.com/terraform-providers/terraform-provider-oneandone\r\n\r\n## How it can be used\r\n\r\nSimilarly to how we use the Github SDK in the Github provider:\r\nhttps://github.com/terraform-providers/terraform-provider-github/blob/master/github/config.go#L31\r\n\r\n----\r\n\r\nI have intentionally implemented this as a non-breaking change with custom initializer, but I'm open to suggestions on how to make it more aligned with expectations of maintainers/users."},"comment":{"url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/comments/329696363","html_url":"https://github.com/1and1/oneandone-cloudserver-sdk-go/pull/15#issuecomment-329696363","issue_url":"https://api.github.com/repos/1and1/oneandone-cloudserver-sdk-go/issues/15","id":329696363,"user":{"login":"radeksimko","id":287584,"avatar_url":"https://avatars1.githubusercontent.com/u/287584?v=4","gravatar_id":"","url":"https://api.github.com/users/radeksimko","html_url":"https://github.com/radeksimko","followers_url":"https://api.github.com/users/radeksimko/followers","following_url":"https://api.github.com/users/radeksimko/following{/other_user}","gists_url":"https://api.github.com/users/radeksimko/gists{/gist_id}","starred_url":"https://api.github.com/users/radeksimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeksimko/subscriptions","organizations_url":"https://api.github.com/users/radeksimko/orgs","repos_url":"https://api.github.com/users/radeksimko/repos","events_url":"https://api.github.com/users/radeksimko/events{/privacy}","received_events_url":"https://api.github.com/users/radeksimko/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T06:43:33Z","updated_at":"2017-09-15T06:43:33Z","author_association":"NONE","body":"Good idea - updated the PR to use setter instead."}}
{"actor":{"display_login":"radeksimko"}}