Permalink
Switch branches/tags
Nothing to show
Commits on Jul 16, 2011
  1. All tests pass

    wycats committed Jul 16, 2011
Commits on Jul 14, 2011
Commits on Mar 21, 2011
  1. Add support for read_nonblock on Net2::HTTP::Response. Next up: deal …

    …with read_nonblock followed by blocking read (at least raise)
    wycats committed Mar 21, 2011
Commits on Mar 20, 2011
  1. Get read_nonblock working for Readers. Next step, expose it directly …

    …to Response instances. Note: readers are currently not shared across requests made on the same socket, which could potentially result in keepalive issues. This could happen if bytes were taken off the buffer from a subsequent request via fill_buffer in the readers. This may be impossible with properly ordered requests and responses.
    wycats committed Mar 20, 2011
Commits on Mar 19, 2011
Commits on Mar 15, 2011
Commits on Mar 14, 2011
  1. Add a TODO. Calling #body on a response should never return an Adapte…

    …r like it does in current Net::HTTP.
    wycats committed Mar 14, 2011
  2. Since it is now possible for a response to have an unread body, when …

    …a subsequent request is made on the same connection, we need to make sure that we read any remaining body from the socket before initiating a second request.
    wycats committed Mar 14, 2011
  3. Make gzip work properly with any body:

    * Create an object like Zlib::Inflater, but which works
      with the gzip format.
    * Currently very simple, with minimal error checking.
      Adding better error checking is a big TODO.
    * Added tests for gzip + chunked encoding
    * TODO: A thorough encoding analysis so that it will be
      possible to document the exact encoding semantics of
      Net::HTTP
    wycats committed Mar 14, 2011
  4. Cleanup request and start prepping for making gzip part of req/resp a…

    …nd not hardcoded into Net::HTTP.get
    wycats committed Mar 14, 2011
Commits on Mar 13, 2011
  1. If you don't pass a block to a request method, leave the user respons…

    …ible for closing the socket. This makes it possible for the user to read the body lazily, or in another method.
    wycats committed Mar 13, 2011
  2. Fix intentional nil code

    wycats committed Mar 13, 2011
  3. Move response to its own file

    wycats committed Mar 13, 2011
  4. No need to repeat ourselves

    wycats committed Mar 13, 2011
  5. Finish cleaning up statuses

    wycats committed Mar 13, 2011
Commits on Mar 11, 2011
  1. Update gem info

    wycats committed Mar 11, 2011
  2. Trying one more time

    wycats committed Mar 11, 2011
  3. Fix strikethrough

    wycats committed Mar 11, 2011
  4. Update README to be more clear

    wycats committed Mar 11, 2011
Commits on Mar 10, 2011
  1. Add a test for gzip. The test for gzip fails when passing a block to …

    …the HTTP method, because it's expecting an IO, but getting a ReadAdapter. Will fix.
    wycats committed Mar 10, 2011
  2. Add README

    wycats committed Mar 10, 2011
  3. Make gzip code 1.8 compatible

    wycats committed Mar 10, 2011
  4. Fix Ruby 1.8 issues

    wycats committed Mar 10, 2011