• Petar Maymounkov's avatar
    http: add lexing functions · dd77c63d
    Petar Maymounkov authored
    In particular, add field-value tokenizer which respects quoting rules.
    The code is intended for use in tokenizing the Transfer-Encoding and Trailer fields.
    The lexing function is not connected to the main parsing code yet (in the next CL).
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/190085
    dd77c63d
lex.go 3.08 KB