Commit Graph

156 Commits

Author SHA1 Message Date
Ping Chen
fe2e3f5f6d print out error message in onError500 (#125) 2018-10-26 21:33:11 -07:00
Petri Lehtinen
d333c6f6b3 Respond with 500 Internal Server Error upon unhandled exceptions (#123)
Refs #109
2018-10-09 10:37:23 -07:00
paluh
2f335e9fc0 Actually fix a really minor bug in body read function (#121) 2018-09-24 18:36:06 -07:00
paluh
c094792be6 Add docs for Body.read (#119) 2018-09-24 15:45:43 -07:00
paluh
30654a62a3 Fix body read (#117) (#118)
* Fix body read (#117)

* Minor code cleanup
2018-09-24 15:03:31 -07:00
Stijn Ruts
f4aeb74b72 Fix markdown syntax (#116) 2018-09-18 08:39:05 -07:00
Connor Prussin
d0ceb78d24
Add note in history regarding change in #112 2018-09-05 10:46:48 -07:00
Connor Prussin
775b06f004
Random example banner cleanup 2018-09-03 12:23:58 -07:00
Connor Prussin
ce4a10a3b5
Make server cancelable and clean up examples and tests (#112) 2018-09-02 14:05:54 -07:00
Connor Prussin
1adbcecaaa
Chunked responses (#107)
* Chunked responses

* Remove Chunked newtype wrapper around Streams

* Use child process instead of ffi stream for chunked example

* Rename additionalHeaders to defaultHeaders

* Add History.md entry

* General cleanup
2018-08-30 15:01:49 -07:00
Connor Prussin
1bde8b4b1d
Consolidate APIs (#104)
* Consolidate APIs

* Use partial function approach instead of Streamable typeclass

* Clean up
2018-08-26 21:54:04 -07:00
Petri Lehtinen
2673bd4b0b
Fix Content-Length for non-ASCII response bodies (#103)
Fixes #101
2018-08-25 07:49:28 +03:00
Connor Prussin
5a7a09381a
Add missing release notes 2018-08-20 14:14:05 -07:00
Petri Lehtinen
3e94aa6f9d Support binary response body (#99)
* Support binary response body

Fixes #98

* Address PR comments

- Expose data constructors for Body and use them for construction and
  pattern matching instead of various helpers

- Add an example and integration test for binary response

- Adjust the middleware example to be a bit nicer
2018-08-19 19:50:07 -07:00
Connor Prussin
9a4b79327c
Add attribution for @akheron (#100) 2018-08-09 12:51:14 -07:00
Petri Lehtinen
9b1045886c
Re-export Query and Status (#97) 2018-08-08 07:32:53 +03:00
Petri Lehtinen
82402997a9 Re-export Response (#95)
Fixes #94
2018-07-10 23:07:34 -07:00
Connor Prussin
4c9acefaea
Set the Content-Length header based on the body contents (#93) 2018-07-10 22:23:28 -07:00
Connor Prussin
4bcbbd95f8
v0.7.1 2018-07-08 16:46:22 -07:00
Connor Prussin
04c5518268
Don't use effects rows in Readme.md 2018-07-08 16:44:20 -07:00
Connor Prussin
e6183dc9ea
Format History.md more betterer 2018-07-08 16:42:10 -07:00
Connor Prussin
0469ba2386
v0.7.0 2018-07-08 16:36:43 -07:00
Connor Prussin
1ec1adc57c
Release notes for v0.7.0 2018-07-08 16:30:23 -07:00
Connor Prussin
85bb5df5ae
Update History.md 2018-07-08 16:29:56 -07:00
Connor Prussin
12a6f36303
Fix some bad docs 2018-07-08 16:28:59 -07:00
Petri Lehtinen
8badd62b3e PureScript 0.12 support (#89)
- Upgrade all dependencies
- Use Effect instead of Eff
- Use Foreign.Object instead of StrMap
- Use Effect.Ref instead of Control.Monad.ST
- Drop SecureServerM, it's the same as ServerM now
2018-07-08 16:16:48 -07:00
Connor Prussin
48e37c4672
v0.6.3 2018-02-24 20:00:59 -08:00
Connor Prussin
1f8024643c
Fix compiler warning 2018-02-24 19:57:46 -08:00
Connor Prussin
435003e2ab
Uprev dependencies 2018-02-24 18:51:07 -08:00
Connor Prussin
b6ec731120
Fix unclear docs 2018-02-24 18:49:45 -08:00
Connor Prussin
f943420351
v0.6.2 2018-02-08 22:05:08 -08:00
Connor Prussin
2649dce1b1
Fix docs again 2018-02-08 22:04:12 -08:00
Connor Prussin
6d78a1b5fb
v0.6.1 2018-02-08 21:58:12 -08:00
Connor Prussin
b6f85c36ae
Fix docs 2018-02-08 21:57:37 -08:00
Connor Prussin
dfe759bf62
v0.6.0 2018-02-08 21:49:05 -08:00
Connor Prussin
b7d6f3f493
Release notes for v0.6.0 2018-02-08 21:48:47 -08:00
Connor Prussin
7c606aec49
Add custom HTTP configurations (#88) 2018-02-08 21:46:45 -08:00
Connor Prussin
a488d21108 Fix incorrect docs (#87) 2017-10-26 17:42:08 -04:00
Connor Prussin
0fa3d1a90c Clean up tests and examples (#86) 2017-10-26 17:19:30 -04:00
Connor Prussin
f28a9bfed7 Minor docs update 2017-10-26 13:28:47 -07:00
Connor Prussin
d12830b2e4 v0.5.0 2017-10-25 18:10:52 -07:00
Connor Prussin
d4c77b8555 Release notes for v0.5.0 2017-10-25 18:10:19 -07:00
Connor Prussin
c79e9e4346 Add guides (#85) 2017-10-25 21:03:24 -04:00
Connor Prussin
133b98c9c6 Add helpers in Lookup and return a Maybe from lookup. (#84) 2017-10-23 18:50:27 -04:00
Connor Prussin
f38c5987ee Add fullPath function for inspecting and logging full resolved request path (#81) 2017-09-29 09:52:21 -07:00
Connor Prussin
a5e29897b2 Clean up example code to use new Headers.header api (#80) 2017-09-29 09:30:05 -07:00
Connor Prussin
8760334dcd Make response helpers API consistent (#79) 2017-09-29 07:49:46 -07:00
Connor Prussin
f4599b276b Add Headers.empty and Headers.header (#78) 2017-09-29 07:25:31 -07:00
Connor Prussin
48c529e9be Add middleware example (#73) 2017-09-27 12:34:00 -07:00
Connor Prussin
be173c68c2 Fix bad docs (#72) 2017-09-27 06:59:50 -07:00