{"action":"created","issue":{"url":"https://api.github.com/repos/sergot/http-useragent/issues/116","labels_url":"https://api.github.com/repos/sergot/http-useragent/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/sergot/http-useragent/issues/116/comments","events_url":"https://api.github.com/repos/sergot/http-useragent/issues/116/events","html_url":"https://github.com/sergot/http-useragent/issues/116","id":114747903,"number":116,"title":"304 throws  'server returned no data'","user":{"login":"fayland","id":22424,"avatar_url":"https://avatars.githubusercontent.com/u/22424?v=3","gravatar_id":"","url":"https://api.github.com/users/fayland","html_url":"https://github.com/fayland","followers_url":"https://api.github.com/users/fayland/followers","following_url":"https://api.github.com/users/fayland/following{/other_user}","gists_url":"https://api.github.com/users/fayland/gists{/gist_id}","starred_url":"https://api.github.com/users/fayland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayland/subscriptions","organizations_url":"https://api.github.com/users/fayland/orgs","repos_url":"https://api.github.com/users/fayland/repos","events_url":"https://api.github.com/users/fayland/events{/privacy}","received_events_url":"https://api.github.com/users/fayland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-03T05:56:48Z","updated_at":"2015-11-04T19:15:39Z","closed_at":null,"body":"➜  perl6-WebService-GitHub git:(master) ✗ perl6 test.pl\r\nInternal Error: 'server returned no data'\r\n  in method throw at /Users/fayland/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm:1\r\n  in method get-response at /Users/fayland/.rakudobrew/moar-nom/install/share/perl6/site/lib/HTTP/UserAgent.pm6:232\r\n  in method request at /Users/fayland/.rakudobrew/moar-nom/install/share/perl6/site/lib/HTTP/UserAgent.pm6:128\r\n  in block  at /Users/fayland/.rakudobrew/moar-nom/install/share/perl6/site/lib/HTTP/UserAgent.pm6:144\r\n  in method request at /Users/fayland/.rakudobrew/moar-nom/install/share/perl6/site/lib/HTTP/UserAgent.pm6:136\r\n  in block <unit> at test.pl:9\r\n\r\ntest code as\r\n```\r\n#!/usr/bin/env perl6\r\n\r\nuse HTTP::UserAgent;\r\n\r\nmy $ua = HTTP::UserAgent.new;\r\nmy $request = HTTP::Request.new(GET => 'https://api.github.com/users/fayland');\r\n$request.header.field(User-Agent => 'test');\r\n$request.header.field(If-Modified-Since => 'Thu, 08 Oct 2015 18:37:54 GMT');\r\nmy $res = $ua.request($request);\r\nsay $res.perl;\r\n```"},"comment":{"url":"https://api.github.com/repos/sergot/http-useragent/issues/comments/153834987","html_url":"https://github.com/sergot/http-useragent/issues/116#issuecomment-153834987","issue_url":"https://api.github.com/repos/sergot/http-useragent/issues/116","id":153834987,"user":{"login":"jonathanstowe","id":736419,"avatar_url":"https://avatars.githubusercontent.com/u/736419?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanstowe","html_url":"https://github.com/jonathanstowe","followers_url":"https://api.github.com/users/jonathanstowe/followers","following_url":"https://api.github.com/users/jonathanstowe/following{/other_user}","gists_url":"https://api.github.com/users/jonathanstowe/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanstowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanstowe/subscriptions","organizations_url":"https://api.github.com/users/jonathanstowe/orgs","repos_url":"https://api.github.com/users/jonathanstowe/repos","events_url":"https://api.github.com/users/jonathanstowe/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanstowe/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T19:15:39Z","updated_at":"2015-11-04T19:15:39Z","body":"I've included the example above as a test case, obviously this may change so we may need to re-visit."}}