Commit Graph

13 Commits

Author SHA1 Message Date
Aliaksandr Valialkin 664d577260 Added SetCanonical() methods to RequestHeader and ResponseHeader 2015-10-27 13:36:42 +02:00
Aliaksandr Valialkin d70261286c Added CopyTo, VisitAll and *Bytes* helper functions to Args, RequestHeader and ResponseHeader 2015-10-27 12:53:33 +02:00
Aliaksandr Valialkin e9d6d7f561 Document Request, Response, RequestHeader, ResponseHeader, URI and Args 2015-10-23 15:56:12 +03:00
Aliaksandr Valialkin ffc2b7025d Added URI path normalization, i.e. //foo//../bar converts to /foo/bar 2015-10-22 17:50:47 +03:00
Aliaksandr Valialkin 444dfb7213 converted needMoreError to static error. This may improve server performance in production if clients send request headers in chunks 2015-10-22 14:27:30 +03:00
Aliaksandr Valialkin e37ca92638 Speed up headers by caching the most frequently used fields such as Content-Type, Host and Server 2015-10-21 16:53:50 +03:00
Aliaksandr Valialkin 37cb5a0c67 Added status codes from net/http 2015-10-21 16:02:53 +03:00
Aliaksandr Valialkin 392c3d66b9 Added *Header.SetBytes() 2015-10-20 12:51:29 +03:00
Aliaksandr Valialkin ee62382f34 Uniformly process all headers 2015-10-20 12:36:33 +03:00
Aliaksandr Valialkin 731dfe6539 Added 'not modified' status code message 2015-10-19 21:06:27 +03:00
Aliaksandr Valialkin 9798f80336 Added ability to set/get arbitrary request headers 2015-10-19 20:55:49 +03:00
Aliaksandr Valialkin c9dd39dd4a Added ability to set arbitrary response headers 2015-10-19 20:01:16 +03:00
Aliaksandr Valialkin a049630bca initial commit 2015-10-19 01:21:09 +03:00