httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: what to do about rfc 2047?
Date Thu, 13 Oct 2005 00:24:05 GMT
Joe Schaefer wrote:
> Listed in the TODO section of STATUS is this:
> 
>   - Implement (some of) RFC 2047 in the multipart parser.
> 
> e.g.
> 
>   Content-Disposition: name="foo" filename="=?iso-8859-1?q?foo.txt?="
2. Syntax of encoded-words

    An 'encoded-word' is defined by the following ABNF grammar.  The
    notation of RFC 822 is used, with the exception that white space
    characters MUST NOT appear between components of an 'encoded-word'.

    encoded-word = "=?" charset "?" encoding "?" encoded-text "?="

    charset = token    ; see section 3

    encoding = token   ; see section 4

    token = 1*<Any CHAR except SPACE, CTLs, and especials>

    especials = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "
                <"> / "/" / "[" / "]" / "?" / "." / "="

    encoded-text = 1*<Any printable ASCII character other than "?"
                      or SPACE>
                   ; (but see "Use of encoded-words in message
                   ; headers", section 5)

So you talking about this.... I'm not sure in what context in libapreq you refer 
to though?  Can you elaborate?

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com

Mime
View raw message