Permalink
Commits on Jun 19, 2011
  1. slightly more documentation

    Josh Hull committed Jun 19, 2011
  2. correct 405 support, sintra style dsl for API

    Josh Hull committed Jun 19, 2011
  3. use http_router and pass params into apis

    Josh Hull committed Jun 19, 2011
Commits on Jun 8, 2011
  1. Merge pull request #57 from cldwalker/tweaks

    Add a respond_to_missing? and fix spelling mistakes
    dj2 committed Jun 8, 2011
Commits on Jun 2, 2011
  1. Merge pull request #56 from burningTyger/patch-1

    tiny typo fixed. github makes it so easy.
    dj2 committed Jun 2, 2011
Commits on May 26, 2011
  1. Merge pull request #54 from wicz/master

    Class-based map never gets executed
    dj2 committed May 26, 2011
Commits on May 25, 2011
Commits on May 17, 2011
  1. use RACK_EXCEPTION constant

    gregwebs committed May 17, 2011
  2. Merge pull request #51 from gregwebs/exception

    save exception in rack.exception
    gregwebs committed May 17, 2011
  3. Pass API to server block.

    This allows the tests to access the api as a parameter to the with_api block.
    (Credit goes to Alexkwolfe for this one)
    dj2 committed May 17, 2011
  4. don't spawn two fibers

    igrigorik committed May 17, 2011
Commits on May 16, 2011
  1. Merge branch 'default-env'

    dj2 committed May 16, 2011
Commits on May 15, 2011
Commits on May 12, 2011
  1. Demo of an authenticating and rate-limiting aroundware: aroundware se…

    …nds requests for account and rate limit info to a mongodb; when the downstream response and its pre_process requests complete, it either serves the content or denies access.
    Philip (flip) Kromer committed May 12, 2011
  2. AsyncAroundware now takes args, passed on to the receiver -- lets you…

    … specify eg. a database to use. Also gives you a chance to construct your own receiver in child class.
    Philip (flip) Kromer committed May 12, 2011
  3. reverted sort in trace stats -- unnecessary as dj2 points out

    Philip (flip) Kromer committed May 12, 2011
  4. Cleaned up error handling: Request#server_exception forces keep_alive…

    … false (addresses postrank-labs/goliath#43 -- connections would hang open on an error); error responses set a Content-Length header; Goliath::Validation::Errors are handled cleanly (become 4xx not 500 errors).  Also, Goliath::Rack::Validator.safely() accepts a headers arg, so that you can preserve headers even in a failed request.
    Philip (flip) Kromer committed May 12, 2011
  5. Goliath::API#use now takes *args, not one optional arg -- this makes …

    …it work the same as rack's #use
    Philip (flip) Kromer committed May 12, 2011
Commits on May 11, 2011
  1. Merge pull request #47 from blakesmith/master

    RequiredParam can take a custom message string
    dj2 committed May 11, 2011
  2. mongo_receiver takes a DB not a collection.

    Philip (flip) Kromer committed May 11, 2011
  3. two tweaks to tracer middleware: a) trace stats are sorted to read li…

    …ke a timeline; b) takes an initialize arg giving the header param to use (still 'X-Postrank' by default)
    Philip (flip) Kromer committed May 11, 2011
Commits on May 10, 2011
  1. (oops) formatting, namespacing

    Philip (flip) Kromer committed May 10, 2011
  2. an aroundware receiver for em-mongo

    Philip (flip) Kromer committed May 10, 2011