{"comment":{"created_at":"2011-10-08T16:17:37Z","body":"Hi José!\n\nCool to hear that! :-) No rush, btw.\n\nThat said, did you by any chance get that other email I sent you about  \nAnna's license?\n\nEgbert","updated_at":"2011-10-08T16:17:37Z","url":"https://api.github.com/repos/jfromaniello/Anna/issues/comments/2332702","id":2332702,"user":{"avatar_url":"https://secure.gravatar.com/avatar/eae25ee5e8427193dd35db2267e45534?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/eteeselink","id":703546,"login":"eteeselink"}},"action":"created","issue":{"number":1,"created_at":"2011-10-08T15:26:22Z","pull_request":{"diff_url":"https://github.com/jfromaniello/Anna/pull/1.diff","patch_url":"https://github.com/jfromaniello/Anna/pull/1.patch","html_url":"https://github.com/jfromaniello/Anna/pull/1"},"body":"Hi Jose,\r\n\r\nI really like Anna, so I spent some saturday time on hacking on it. Things I added / changed:\r\n\r\n* I added a `GetBody()` method to `Request`, which asynchronously reads the input stream into a string (in a single go, so not very suited for large uploads, but very handy for HTML form posts and RESTful APIs and the likes). I guess it can be improved a lot, but hey, it's a start.\r\n* I must admit that I didn't really like the way responses were implemented, with the implicit conversions and all: these are very difficult to discover from the IDE. You need to read examples or the source to see how to use it. So I rewrote it to simple methods on `RequestContext`.\r\n  * I added a `Send` method to the `Response` class. Advantage is that logically, I believe that this code should be local to the class. Disadvantage is that now Response has a dependency on RequestContext (which is passed through its constructor).\r\n  * I added some overloaded factory methods called `Response` and `StaticFileResponse` that create the right response object based on the parameter types. Users can thus call e.g. `context.Response(\"moo\").Send()`\r\n  * Changed some `Respond` methods so that they take literal strings and ints instead of implicitly converted `Response` objects, so that they are discoverable from the IDE.\r\n  * Removed the implicit conversions\r\n  * Result is that a user has the same options as before, but can type `context.` and a drop-down with all the different ways to create responses is shown by the IDE.\r\n* Added some doc comments here and there, plus a simple readme with an example\r\n\r\nNo idea whether you're open to this at all. Curious to see what you think!","comments":2,"title":"OMG open source contributions!","updated_at":"2011-10-08T16:17:37Z","url":"https://api.github.com/repos/jfromaniello/Anna/issues/1","id":1852705,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/eae25ee5e8427193dd35db2267e45534?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/eteeselink","id":703546,"login":"eteeselink"},"html_url":"https://github.com/jfromaniello/Anna/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":1852705,"comment_id":2332702}}