aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Clean up source structure and update vendor versionsHEADmasterFelix Hanley2016-12-0572-8655/+0
|
* Shuffle vendor directory up a level o_0Felix Hanley2016-05-1265-0/+538
|
* Inhibit repeated handling of requests through context-aware middleware ↵Paul Mundt2016-05-123-16/+18
| | | | | | | | | | | | | | | | | | | chains (#3) * Squashed 'vendor/src/github.com/alexedwards/stack/' content from commit a4c0268 git-subtree-dir: vendor/src/github.com/alexedwards/stack git-subtree-split: a4c0268505f12934376d6d8fdca232416861e271 * Use context-aware handler chains to limit repeated handling Presently each middleware must advance through the handler chain to reach the router endpoint. In the case of multiple compressors (gzip, deflate) we need to be able to walk through the chain without additional processing of already handled requests. This implements some simple iteration logic based on request context that we pass down the chain. Signed-off-by: Paul Mundt <paul.mundt@adaptant.io>
* Use Golang 1.6 vendor structureFelix Hanley2016-05-1158-0/+7726
|
* Merge branch 'deflate' of https://github.com/pmundt/go-dict2rest into ↵Felix Hanley2016-04-052-4/+54
|\ | | | | | | pmundt-deflate
| * Fix up content-encoding mangling in deflate error pathPaul Mundt2016-04-031-1/+1
| |
| * Add support for deflate compressionPaul Mundt2016-04-032-4/+54
| | | | | | | | | | | | This enables optional support for deflate compression to be used for HTTP requests. Primarily useful in cases where gzip compression is not available on the requesting client side.
* | Fix up gzip error handlingPaul Mundt2016-04-031-0/+2
|/ | | | | | | In the case where the server has enabled gzip support but it is not supported by the requesting client, the error path serves up the uncompressed response but then fails to return immediately, resulting in the compressed response being written out also.
* Refactor handlers to open a new connection for each requestFelix Hanley2016-01-284-96/+154
|
* Add dictionary listing and updated readmeFelix Hanley2016-01-282-5/+23
|
* Make gzip optionalFelix Hanley2016-01-281-2/+6
|
* Add initial sourceFelix Hanley2016-01-285-0/+257
Only 'define' is currently working so far.