Commit Graph

188 Commits

Author SHA1 Message Date
Michael Snoyman
0eb6c8a121 Merge pull request #64 from sordina/master
Adding ability to override POST request method from the first field of url-encoded post-data
2012-04-28 23:52:11 -07:00
Michael Snoyman
e6d928124b Remove upper bounds on bytestring (yesodweb/shakespeare#60) 2012-04-29 09:35:38 +03:00
Lyndon Maydwell
c64992cac5 Removing temporary comment 2012-04-28 17:59:48 +08:00
Lyndon Maydwell
8672c9dc3f Adding test case for ignoring non-urlencoded body data 2012-04-28 17:43:23 +08:00
Lyndon Maydwell
9855d12054 Adding test for methodOverridePost middleware 2012-04-28 17:32:54 +08:00
Michael Snoyman
bf0568654f Update license with MIT license 2012-04-27 17:31:26 +03:00
Lyndon Maydwell
a679f25880 Adding Documentaiton to MethodOverridePost 2012-04-22 20:18:23 +08:00
Lyndon Maydwell
341f94551a Adding documentation 2012-04-19 17:03:21 +08:00
Lyndon Maydwell
6e0a49d8ef Repopulating the request body from the lazy list created. 2012-04-19 13:51:19 +08:00
Michael Snoyman
09ac1841de Version bumps 2012-04-19 07:58:26 +03:00
Lyndon Maydwell
d748ce6abb Adding cabal dependency on resourcet 2012-04-19 12:54:32 +08:00
Lyndon Maydwell
a33e4d6598 Adding a POST variant of methodOverride 2012-04-19 12:41:20 +08:00
Michael Snoyman
b57a898ffe Fix a typo 2012-04-16 12:29:29 +03:00
Michael Snoyman
bf766e3ad2 MethodOverride: only on POST 2012-04-16 12:17:38 +03:00
Michael Snoyman
e9399fcba6 Document methodOverride 2012-04-16 10:19:08 +03:00
Michael Snoyman
a0999aedf4 Doc fix 2012-04-03 18:40:04 +03:00
Michael Snoyman
d2896429a3 data-default 0.4 2012-04-03 13:16:14 +03:00
Michael Snoyman
d301d90387 Switch from BSD3 to MIT 2012-04-03 10:41:15 +03:00
gregwebs
123be5113b fix request logger test 2012-04-01 12:19:07 -07:00
gregwebs
9eee8552b4 log production response 2012-03-30 06:42:38 -07:00
Michael Snoyman
92b36ba608 transformers 0.4 2012-03-28 16:16:40 +02:00
Michael Snoyman
416cb5d466 Everything compiles with conduit 0.4 2012-03-27 14:07:48 +02:00
Michael Snoyman
578f9854fb Merge branch 'master' into conduit-0.3
Conflicts:
	wai-extra/wai-extra.cabal
	wai-handler-devel/wai-handler-devel.cabal
	wai-handler-fastcgi/wai-handler-fastcgi.cabal
	wai-handler-scgi/wai-handler-scgi.cabal
	warp-static/warp-static.cabal
2012-03-14 09:24:46 +02:00
Michael Snoyman
8a40ada00c Further conduit 0.3 changes 2012-03-05 10:37:35 +02:00
Greg Weber
ae541c7fbe proper version bump of wai-extra 2012-02-26 07:09:15 -08:00
Greg Weber
b3f622a1d3 add redirectWWW
I put it in Vhost. probably should rename the module now
2012-02-26 07:05:24 -08:00
Michael Snoyman
af7d1a79cb conduit 0.3 2012-02-26 08:49:28 +02:00
Greg Weber
b7fc5ee58d add rewritePure, remove autoHtmlRewrite 2012-02-24 10:24:15 -08:00
Michael Snoyman
2a4afc0998 Conduit upper bounds 2012-02-24 10:30:54 +02:00
Greg Weber
24f77c0780 fix warning, add docs 2012-02-19 21:37:51 -08:00
Greg Weber
2523bb86ee add ansi colors to connect a request & response 2012-02-17 08:16:29 -08:00
Michael Snoyman
e6bb9a86c0 RequestLogger: ignore post bodies over 2048 bytes 2012-02-14 11:04:27 +02:00
Greg Weber
91bd2990b5 log response status in development
we should do this in production too.
Note though, that it means logging *after* the request has completed.

Logging only after has some downside.
The slowloris attack against Apache is an example: the request never
gets logged before the server is crashed.
2012-02-10 08:09:45 -08:00
Michael Snoyman
0d7d5dbdf1 Better parseRequestBody 2012-02-02 12:23:11 +02:00
Luite Stegeman
1a0457aeb2 exclude buggy fast-logger 2012-02-01 14:22:13 +01:00
Michael Snoyman
6f8cc642b2 conduit changes: no more Prepared 2012-01-28 22:29:34 +02:00
Michael Snoyman
67bb38e0de conduit 0.2 2012-01-27 16:42:55 +02:00
Michael Snoyman
675aeb8105 Flushing 2012-01-26 07:09:11 +02:00
Michael Snoyman
e0eb6f22fc Fix wai-extra warnings and tests 2012-01-25 07:25:05 +02:00
Michael Snoyman
af1eb00ba5 Merge pull request #35 from aslatter/wai-extra-sink
Wai-extra: reforming the Parse API
2012-01-24 20:26:42 -08:00
Antoine Latter
d669dda957 wai-extra: followup to making the Parse module API more readable 2012-01-24 22:13:49 -06:00
Greg Weber
94153b2b1d fix test logHandle -> logCallback 2012-01-24 20:32:57 -03:00
Michael Snoyman
92cd3273d6 Merge remote-tracking branch 'origin/master'
Conflicts:
	wai-extra/wai-extra.cabal
2012-01-24 12:13:46 +02:00
Michael Snoyman
79851df286 wai-extra: do not compress text/event-stream by default 2012-01-24 09:28:58 +02:00
Antoine Latter
fa8e0b55e0 wai-extra: slightly imprive interface for parseRequestBody 2012-01-23 23:37:54 -06:00
Greg Weber
5b7232b823 cleanup RequestLogger interface 2012-01-22 17:52:11 -03:00
Michael Snoyman
83f0582e1c Lower bounds for a tempermental cabal 2012-01-18 13:19:58 +02:00
Michael Snoyman
d26504183f RequestBody is now a Source
This may not be a good move, but here's the rationale. We have a few
reasons to avoid buffering:

* It's a performance overhead
* It's less well understood

In this case, none of our code is actually utilizing the buffered aspect
of the source. Warp comes the closest, but in fact only uses it
internally. After it's done with the buffered actions, it applies
isolate, which creates an unbuffered source again.

Overall, I'm beginning to think that the place for buffering is only
internal, and all external interfaces should be unbuffered (there's a
similar commit to http-conduit).
2012-01-17 17:37:19 +02:00
Michael Snoyman
98e8a3ddfd logStdoutDev flushes 2012-01-17 08:44:32 +02:00
Michael Snoyman
5c56adb421 conduitRequestBody (yesodweb/yesod#208) 2012-01-12 21:14:04 +02:00
Michael Snoyman
6fcaa10417 Got rid of gzip/gzip' divide 2012-01-06 13:38:50 +02:00
Michael Snoyman
215b7bc512 Fixed tests and a broken cabal file 2012-01-06 13:14:54 +02:00
Greg Weber
73edd4a22f add newline to request logger 2012-01-06 01:51:59 -03:00
Michael Snoyman
89b673a315 Removed debug middleware 2011-12-27 15:32:11 +02:00
Michael Snoyman
721b2a283e Added vault to wai 2011-12-27 14:36:49 +02:00
Michael Snoyman
63fac2b6ca Removed enumerator from wai-extra 2011-12-27 11:37:20 +02:00
Michael Snoyman
ad8eafc699 Switch to conduits.
All packages are getting bumped to 1.0 to signify the difference.
2011-12-26 17:10:26 +02:00
Michael Snoyman
54bc112e81 Version bump 2011-12-26 11:07:59 +02:00
Greg Weber
0e7edb5fb1 add logStdoutDev and logHandleDev
These use ByteString instead of Lazy Text
2011-12-25 23:34:47 -03:00
Greg Weber
dddb763d2f Debug deprecated in favor of RequestLogger 2011-12-25 22:22:13 -03:00
Greg Weber
64d1c82fe9 add RequestLogger that uses fast-logger 2011-12-25 09:55:30 -03:00
Michael Snoyman
c05672debb Missing test file in cabal 2011-12-02 15:16:59 +02:00
Michael Snoyman
c29ba033de Relaxed upper bounds 2011-11-28 19:02:49 +02:00
Michael Snoyman
84ba17e76c Version bumps 2011-11-28 15:40:43 +02:00
Greg Weber
ee7a0b4ad9 wai-mega tests 2011-11-26 07:57:29 -06:00
Greg Weber
174827a8cb align wai dependencies 2011-11-23 09:26:18 -06:00
Greg Weber
36c273d3e1 update dependencies 2011-11-16 07:09:33 -08:00
Greg Weber
21cb700636 allow hspec 0.9 2011-11-06 19:20:47 -08:00
Michael Snoyman
8e58a42ebe Fix wai-extra tests 2011-10-14 12:13:36 +02:00
Michael Snoyman
00dea5c6c4 GzipSettings (cache folder, check mime type) 2011-10-14 11:12:17 +02:00
Greg Weber
2d47674191 version bump
should be first decimal, but I think nobody is using this but me.
2011-10-13 09:00:38 -07:00
Greg Weber
166e45e822 update rewriter to set rawPathInfo 2011-10-13 06:43:40 -07:00
Michael Snoyman
6dea373a5f Version bumps 2011-10-03 12:29:39 +02:00
Michael Snoyman
2164cb0e07 Add missing test files for tarballs 2011-09-23 16:23:11 +03:00
Greg Weber
bf8baecbe6 bump hspec dependency 2011-09-15 09:25:42 -07:00
Michael Snoyman
b6b56758de Version bumps 2011-08-29 09:22:09 +03:00
Michael Snoyman
a02f907be5 More thorough testing; unbump unix-compat 2011-08-28 01:38:21 +03:00
Michael Snoyman
8997a567cd wai-extra version bump 2011-08-22 17:11:10 +03:00
Greg Weber
a27a04b910 tighten hspec version 2011-08-20 10:06:24 -07:00
Greg Weber
80315a927a convert tests to hspec 2011-08-20 08:59:16 -07:00
Michael Snoyman
89709f82ce time and cmdargs bumps 2011-08-19 08:43:05 +03:00
Greg Weber
bfbab82058 version bump wai-extra 2011-08-05 07:59:45 -07:00
Greg Weber
91f51c3590 version bump wai-extra 2011-08-05 06:30:37 -07:00
Greg Weber
87b2353cdf debugDest -> debugHandle 2011-08-04 06:40:12 -07:00
Greg Weber
d9a7a5a8f9 cabalize tests 2011-08-04 06:40:02 -07:00
Michael Snoyman
09149c2a05 Merge commit 'e03b7a3daf9e0903f6f6'
Conflicts:
	.gitignore
2011-07-24 20:13:42 +03:00
Michael Snoyman
5dd375f18f Fix homepage and source-repository 2011-07-22 17:02:16 +03:00
Michael Snoyman
6ab2dfe739 Add 'wai-extra/' from commit '29076d018b0cc159c3ccf3050350e4b7469f2c6c'
git-subtree-dir: wai-extra
git-subtree-mainline: ebedc4d083
git-subtree-split: 29076d018b
2011-07-22 16:51:23 +03:00