Documentation
¶
Overview ¶
httpaddhost adds a dummy Host: header to http requests. This is needed because some version of iOS send HTTP/1.1 requests lacking this header, which the golang stdlib http server does not accept
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPAddHost ¶
func Wrap ¶
func Wrap(listener net.Listener) *HTTPAddHost
Click to show internal directories.
Click to hide internal directories.