=head1 METHODS
-=over 4
+=over 4
+
+=item new
+
+Constructor. Takes content type and content length as parameters,
+returns a L<HTTP::Body> object.
=cut
=item add
+Add string to itnernal buffer. Will call spin unless done. returns
+length before adding self.
+
=cut
sub add {
=item body
+accessor for the body.
+
=cut
sub body {
=item buffer
+read only accessor for the buffer.
+
=cut
sub buffer {
=item content_length
+read only accessor for content length
+
=cut
sub content_length {
=item content_type
+ready only accessor for the content type
+
=cut
sub content_type {
=item init
+return self.
+
=cut
sub init {
=item length
+read only accessor for body length.
+
=cut
sub length {
=item spin
+Abstract method to spin the io handle.
+
=cut
sub spin {
=item state
+accessor for body state.
+
=cut
sub state {
=item param
+accesor for http parameters.
+
=cut
sub param {