purescript-payload icon indicating copy to clipboard operation
purescript-payload copied to clipboard

An HTTP server and client library for PureScript

Results 14 purescript-payload issues
Sort by recently updated
recently updated
newest added

Is there any reason why it's not? I builds with purs 15.10

`DecodeResponse` class has only limited amount of instances and these are for Strings, Arrays and Records only. [README entry](https://github.com/hoodunit/purescript-payload#responses)

I've seen the following error at runtime, and am not sure how to interpret it. ``` DecodeError: { error: UnhandledResponseError 'Could not decode response - no DecodeResponse instance' ``` I...

HTTP spec allows for repeated headers in requests and responses. https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 ~As far as generating responses go, there's the alternative of combining them as a comma separated list. Payload is...

First of all: Great library! Here's a small thing that I came across that may be a bit type-unsafe: ```hs mySpec :: Spec { getBar :: GET "/bar" { query...

When I wrote the spec containing the route which matches to url with one-character segments: ``` import Prelude import Effect.Aff (Aff) import Payload.Server (start_) import Payload.Spec (Spec(..), GET) main ::...

Right now the list of guards for an endpoint are run once for each route that matches a request. This is rather unfortunate in cases where a request matches many...

bug

While looking into payload, I was trying to write some simple example of an API and rather than use a real DB, I figured I'd use a `StateT` transformer to...

enhancement

I want to return `Bad Request` response with my body parsing errors (returned by `decodeBody`) when a request contains invalid body. Currently I'm getting `404` with an empty body. Do...

enhancement