Commit Graph

30 Commits

Author SHA1 Message Date
Aliaksandr Valialkin 52ddf98cfd Fixed golint warnings 2016-01-19 12:43:23 +02:00
Aliaksandr Valialkin 485098e5dc Exported AppendQuotedArg 2016-01-13 18:17:03 +02:00
Aliaksandr Valialkin 37ad7e0e32 typo fix 2016-01-13 18:03:02 +02:00
Aliaksandr Valialkin 4bca54c0bb Issue #29: use time.UTC instead of time.LoadLocation, since this call may fail on systems without certain config files 2016-01-04 15:55:30 +02:00
Aliaksandr Valialkin eb18481efb Escape query args chars according to http://www.w3.org/TR/html5/forms.html#form-submission-algorithm 2015-12-23 19:26:48 +02:00
Aliaksandr Valialkin e4ed4ab3c0 Moved appendQuotedPath to bytesconv 2015-12-23 11:22:14 +02:00
Aliaksandr Valialkin ea8a7f54d5 Do not escape '-' and '_' in url path and query args 2015-12-22 20:18:19 +02:00
Aliaksandr Valialkin b3c0a2cf75 Do not escape the most frequently used chars in uri path such as ':~=,' 2015-12-22 20:13:45 +02:00
Aliaksandr Valialkin 052a3cfb65 Substitute EqualBytesStr(s, b) by string(b) == s 2015-12-19 20:44:01 +02:00
Aliaksandr Valialkin 5ff6be8fee Substitute AppendBytesStr by append() 2015-12-19 20:38:10 +02:00
Aliaksandr Valialkin ddfa9f5dc0 Clarify Append* return values 2015-12-19 20:29:17 +02:00
Aliaksandr Valialkin 3222ab8c8c Added AppendIPv4 and ParseIPv4 helper functions 2015-12-11 13:11:15 +02:00
Aliaksandr Valialkin 9c18f79145 Added support for If-Modified-Since to SendFile and FS 2015-12-09 18:51:51 +02:00
Aliaksandr Valialkin 48192ad44c Integrated AppendUint perfromance optimization from pull request #2. Thanks to @EricLagergren 2015-12-02 15:01:13 +02:00
Aliaksandr Valialkin dd6422c56f Optimized hexbyte2int 2015-11-30 19:57:59 +02:00
Aliaksandr Valialkin 66d1cfd6e3 bytesconv code prettifying 2015-11-30 19:42:21 +02:00
Aliaksandr Valialkin 3e3d68aed2 Code cleanup: removed redundant unhex 2015-11-30 19:33:32 +02:00
Aliaksandr Valialkin c04fdb47a5 Test writeHexInt for 32-bit and 64-bit architectures 2015-11-28 23:11:07 +02:00
Aliaksandr Valialkin 974a1c99ce Optimized AppendUint by using stack-based buffer instead of uintBufPool 2015-11-28 23:00:10 +02:00
Aliaksandr Valialkin 54b3bf6b21 fixed spelling typo 2015-11-28 21:48:58 +02:00
Aliaksandr Valialkin 58d404c7e9 Issue #7: an attempt to blindly fix arm build according to @msoap suggestion 2015-11-28 20:47:17 +02:00
Aliaksandr Valialkin 4aac41a918 Use the most optimized AppendBytesStr() implementation - append(dst, src..) :) 2015-11-26 20:10:51 +02:00
Aliaksandr Valialkin 2d41d2b734 Optimized AppendBytesStr - now it is 2x faster 2015-11-24 13:22:34 +02:00
Aliaksandr Valialkin 961eef082b Optimized EqualBytesStr 2015-11-24 12:57:01 +02:00
Aliaksandr Valialkin 3cc7fe9675 Moved byte slice manipulation functions to bytesconv.go 2015-11-22 13:45:42 +02:00
Aliaksandr Valialkin c728643d4a Access Content-Length via ContentLength accessor 2015-11-16 18:09:05 +02:00
Aliaksandr Valialkin 02d312eb54 Added BodyStream to Response, so RequestHandler may set BodyStream instead of Body when it needs response body streaming 2015-11-11 12:54:49 +02:00
Aliaksandr Valialkin 9735e0127b Exported ParseUint, ParseUfloat and AppendHTTPDate, which may be frequently used in http apps 2015-11-11 11:00:22 +02:00
Aliaksandr Valialkin 87105b99cb Added response cookies support 2015-11-05 12:07:54 +02:00
Aliaksandr Valialkin a049630bca initial commit 2015-10-19 01:21:09 +03:00