Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Gaul b15d83a98b Update go-httpbin import 2018-11-10 12:57:16 -08:00
Andrew Gaul 807a3c31c0 Provide correct default value to Proxy.New
Fixes regression from 6760ec46a2.
References #37.
2018-08-28 10:18:00 -07:00
Andrew Gaul e505655338 Add GIF to WebP transcoding 2017-08-28 22:40:45 -07:00
Andrew Gaul f69a0b7e0e Serve diagnostics and CA certificate
Fixes #21.  Reference:

https://mtersch.wordpress.com/2015/03/17/certificate-import-in-firefox-on-android/
2017-08-20 21:59:04 -07:00
Andrew Gaul defbc287f1 Allow X-Compy-Quality override header
This allows clients to override the configured compression quality.
Fixes #14.
2017-08-19 11:29:31 -07:00
Andrew Gaul 69b89413bd Add optional HTTP BASIC authorization
Fixes #18.
2017-08-19 11:23:02 -07:00
Andrew Gaul a6bb5e3308 Add unit test for GIF transcoding 2017-01-21 15:04:26 -08:00
Andrew Gaul 3760bb0a61 Simplify HTTP GETs when not adding Accept header 2017-01-21 14:19:57 -08:00
Andrew Gaul 49bceae2df Add unit tests for PNG and WebP
Also correct Content-Type when transcoding WebP.
2017-01-19 11:21:28 -08:00
Andrew Gaul 389077e0fa Transcode via Brotli
Brotli offers 20% better compression than gzip.
2017-01-18 19:35:20 -08:00
Andrew Gaul ecfa095a14 Consume gzip stream in test
Also close writer since this test previously failed due to truncated
output.
2017-01-18 19:33:36 -08:00
Andrew Gaul f8cb20ade6 Add unit tests for gzip 2017-01-18 18:27:22 -08:00
Andrew Gaul 20a9c66286 Add unit tests for JPEG and WebP
Also correct Content-Type when transcoding WebP.
2017-01-18 18:27:22 -08:00