Skip to content
Snippets Groups Projects
  • David\ Beitey's avatar
    b2a675b6
    Merge subrequest response and parent response · b2a675b6
    David\ Beitey authored
    This fixes #9 and #8 by reading headers_out from the subrequest resposne
    and copying them into the main request's headers_out.  Previously, the
    direct assignment (shallow copy) produced the effect whereby no filters
    that ran after the shib module could modify headers.
    
    The reason for this appears to be linking inside the ngx_list
    ``headers`` inside the request option; suffice to say, this is a much
    better approach.
    b2a675b6
    History
    Merge subrequest response and parent response
    David\ Beitey authored
    This fixes #9 and #8 by reading headers_out from the subrequest resposne
    and copying them into the main request's headers_out.  Previously, the
    direct assignment (shallow copy) produced the effect whereby no filters
    that ran after the shib module could modify headers.
    
    The reason for this appears to be linking inside the ngx_list
    ``headers`` inside the request option; suffice to say, this is a much
    better approach.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.