The chunk_size seems to be ignored in response.stream

    def stream(
        self,
        stream,
        chunk_size = DEFAULT_CHUNK_SIZE,
        request=None,
        ):
        """
        if a controller function::

            return response.stream(file, 100)

        the file content will be streamed at 100 bytes at the time
        """

        if isinstance(stream, (str, unicode)):
            stream_file_or_304_or_206(stream, request=request,
                                      headers=self.headers) <<<< NOT
PASSED IN TO stream_file_or_304_206!!

Thanks,

Clayton

Reply via email to