[Varnish] #206: Improved VCL primitives for header manipulation

Varnish varnish-bugs at projects.linpro.no
Thu Feb 14 14:26:06 CET 2008


#206: Improved VCL primitives for header manipulation
----------------------+-----------------------------------------------------
 Reporter:  des       |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 At some point, we should add support in VCL for:

  * Directly examining, modifying or removing individual fields of multi-
 value headers, particularly {{{Cookie}}} and {{{Set-Cookie}}}; for
 instance:

 {{{
     if (req.http.Cookie[session_id]) {
         pass;
     }
 }}}

  * Iterating over a finite list, particularly:
   * all HTTP headers in a request, object or response
   * all fields in a multi-value header

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/206>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list