NAME
HTTP::Body::OctetStream - HTTP Body OctetStream Parser
SYNOPSIS
use HTTP::Body::OctetStream;
DESCRIPTION
HTTP Body OctetStream Parser. It stores the body unparsed in a temporary file, for application/octet-stream, application/json and any content type HTTP::Body has no other parser for.
METHODS
- spin
-
Writes the data that has arrived to a temporary file in tmpdir, which is the body. Once the whole body is there, it seeks the file back to its start and sets the state to done. Croaks when the file can not be written.
SUPPORT
See HTTP::Body
AUTHOR
Christian Hansen, ch@ngmedia.com
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.