Class | Yajl::HttpStream |
In: |
lib/yajl/http_stream.rb
|
Parent: | Object |
This module is for making HTTP requests to which the response bodies (and possibly requests in the near future) are streamed directly into Yajl.
ALLOWED_MIME_TYPES | = | ["application/json", "text/plain"] | The mime-type we expect the response to be. If it‘s anything else, we can‘t parse it and an InvalidContentType is raised. |