Changeset 38704 in project


Ignore:
Timestamp:
05/24/20 00:53:42 (6 months ago)
Author:
wasamasa
Message:

Add raw header value example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/intarweb

    r37578 r38704  
    375375(headers `((host ("example.com" . 8080))
    376376           (accept #(text/html ((q . 0.5)))
    377                    #(text/xml ((q . 0.1)))))
     377                   #(text/xml ((q . 0.1))))
     378           (authorization #("Bearer: token" raw)))
    378379          old-headers)
    379380</enscript>
     
    381382This adds the named headers to the existing headers in
    382383{{old-headers}}. The host header is a pair of hostname/port.
    383 The accept header is a list of allowed mime-type symbols.
     384The accept header is a list of allowed mime-type symbols.
     385The authorization header is a list with a raw value.
    384386
    385387As can be seen here, optional parameters or "attributes" can be added
Note: See TracChangeset for help on using the changeset viewer.