summaryrefslogtreecommitdiff
path: root/src/pkg/http/lex.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+144
2011-09-13Imported Upstream version 60Ondřej Surý1-144/+0
2010-03-30single argument panicRuss Cox1-6/+2
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-02-25strings: delete Runes, BytesRuss Cox1-5/+1
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-01-28http: add lexing functionsPetar Maymounkov1-0/+152
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 http://codereview.appspot.com/190085 Committer: Russ Cox <rsc@golang.org>