Skip to content

echo_subrequest adds http headers #1

@ghost

Description

When changing:

echo_foreach_split ',' $filelist;
echo_subrequest_async GET '/getFile' -q 'file=$echo_it' ;
echo_end;

to

echo_foreach_split ',' $filelist;
echo_subrequest GET '/getFile' -q 'file=$echo_it' ;
echo_end;

the body is modified, and I see some http headers added:

@HTTP/1.1 200 OK^M
Server: ngx_openresty^M
Date: Wed, 02 May 2012 10:25:06 GMT^M
Content-Type: text/plain^M
Transfer-Encoding: chunked^M
Connection: close^M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions