{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/285","labels_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/285/comments","events_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/285/events","html_url":"https://github.com/mirage/ocaml-cohttp/issues/285","id":63778708,"number":285,"title":"cohttp-server-lwt ignores the `host` parameter","user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T17:13:27Z","updated_at":"2015-04-01T07:48:16Z","closed_at":null,"body":"See https://github.com/mirage/ocaml-conduit/issues/42"},"comment":{"url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/comments/88383412","html_url":"https://github.com/mirage/ocaml-cohttp/issues/285#issuecomment-88383412","issue_url":"https://api.github.com/repos/mirage/ocaml-cohttp/issues/285","id":88383412,"user":{"login":"marklrh","id":3656079,"avatar_url":"https://avatars.githubusercontent.com/u/3656079?v=3","gravatar_id":"","url":"https://api.github.com/users/marklrh","html_url":"https://github.com/marklrh","followers_url":"https://api.github.com/users/marklrh/followers","following_url":"https://api.github.com/users/marklrh/following{/other_user}","gists_url":"https://api.github.com/users/marklrh/gists{/gist_id}","starred_url":"https://api.github.com/users/marklrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marklrh/subscriptions","organizations_url":"https://api.github.com/users/marklrh/orgs","repos_url":"https://api.github.com/users/marklrh/repos","events_url":"https://api.github.com/users/marklrh/events{/privacy}","received_events_url":"https://api.github.com/users/marklrh/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T07:48:16Z","updated_at":"2015-04-01T07:48:16Z","body":"and I think we should use [``custom_ctx``](https://github.com/mirage/ocaml-cohttp/blob/master/lwt/cohttp_lwt_unix_net.ml#L42) in ``cohttp_lwt_unix_net.ml``, which means we should probably use [``init``](https://github.com/mirage/ocaml-conduit/blob/master/lib/conduit_lwt_unix.ml#L147) in ``conduit_lwt_unix.ml``.\r\n\r\nI am not pretty sure about the conclusion I derived. I will be glad if someone can check my suggestion. "}}