podafButter
A library that helps ease HTTP requests through a stack of middleware
Mixins
Butter |
|
ButterMiddleware | Implement to define middleware for |
Classes
ButterDish | Holds an instance of |
ButterRequest | The HTTP request. |
ButterResponse | The HTTP response. |
ErrOn5xxMiddleware | Middleware that throws a ServerErr when a HTTP response returns a 5xx status code, indicating a server error. |
FollowRedirectsMiddleware | Middleware that automatically resubmits requests on redirect responses. |
HttpRequestHeaders | A wrapper for HTTP request headers with accessors for commonly used headings. |
HttpResponseHeaders | A wrapper for HTTP response headers with accessors for commonly used headings. |
HttpTerminator | A middleware terminator for making real HTTP requests. |
OpenAuthMiddleware | (Bonus!) Middleware for signing HTTP requests as per the OAuth Protocol 1.0a. |
QualityValues | Parses a |
StickyCookiesMiddleware | Middleware that stores cookies found in response objects, and automatically sets them in subsequent requests. |
StickyHeadersMiddleware | Middleware that automatically sets headers in each request, so you don't have to! |
Errs
ButterErr | As thrown by |
ServerErr | Throw by ErrOn5xxMiddleware when a HTTP response returns a 5xx status code. |