mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
This commit newly introduces a type for configuring a parser called ParseOption, and implements two functions depending on it. Along with that, this introduces ParseOptionEnableScripting to enable setting of the scripting flag. Fixes golang/go#16318 Change-Id: Ie7fd7d8ce286e22e7f57182fc2ce353bce578db6 Reviewed-on: https://go-review.googlesource.com/c/net/+/174157 Reviewed-by: Nigel Tao <nigeltao@golang.org>