{"action":"opened","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/177","labels_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/177/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/177/events","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/177","id":60291052,"number":177,"title":"nghttp2 sends invalid header when both `-u` and `-m` are used","user":{"login":"kazuho","id":41567,"avatar_url":"https://avatars.githubusercontent.com/u/41567?v=3","gravatar_id":"","url":"https://api.github.com/users/kazuho","html_url":"https://github.com/kazuho","followers_url":"https://api.github.com/users/kazuho/followers","following_url":"https://api.github.com/users/kazuho/following{/other_user}","gists_url":"https://api.github.com/users/kazuho/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuho/subscriptions","organizations_url":"https://api.github.com/users/kazuho/orgs","repos_url":"https://api.github.com/users/kazuho/repos","events_url":"https://api.github.com/users/kazuho/events{/privacy}","received_events_url":"https://api.github.com/users/kazuho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-09T02:32:37Z","updated_at":"2015-03-09T02:32:37Z","closed_at":null,"body":"For example when I run `nghttp -v -u -H':method: POST' -d /mydev/h2o/t/50reverse-proxy/hello.txt http://127.0.0.1:8080/1234/echo` the response looks like as follows.  It contains a invalid header `:method:` and thus the server returns an error.\r\n\r\n```\r\nOPTIONS * HTTP/1.1\r\nHost: 127.0.0.1:8080\r\nConnection: Upgrade, HTTP2-Settings\r\nUpgrade: h2c-14\r\nHTTP2-Settings: AAMAAABkAAQAAP__\r\nAccept: */*\r\nUser-Agent: nghttp2/0.7.6-DEV\r\n:method: POST\r\n\r\n```"}}