Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.435 kb
-module(nolengthtest).
-export([out/1]).
-include("../../include/yaws.hrl").
-include("../../include/yaws_api.hrl").
out(_Arg) ->
yaws_api:stream_chunk_deliver(self(), lists:duplicate(256, $A)),
yaws_api:stream_chunk_end(self()),
[
{header, {transfer_encoding, erase}},
{header, {content_length, erase}},
{header, {connection, "close"}},
{streamcontent, "text/plain", lists:duplicate(256, $A)}
].
Jump to Line
Something went wrong with that request. Please try again.