peridot icon indicating copy to clipboard operation
peridot copied to clipboard

a basic api for interacting with ring apps

Results 10 peridot issues
Sort by recently updated
recently updated
newest added

Please find the following changes in this PR: - [X] Update ring-core test dependency to make it aware of cookie attribute `:same-site` ([link](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite)) - [X] Add CI build script (as...

Travis.org is end of life (see https://travis-ci.com/github/xeqi/peridot) We could consider using CircleCI or Github actions. What do you think?

Adding a `deps.edn` file would allow people to use forks and experiment with some new features in a more convenient way.

Using the [Max-Age](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#max-agenumber) attribute is a more natural way of setting a cookie that expires, e.g. `max-age: 3600` vs `Expires: current-client-date + 3600 seconds`. Especially with out of sync client...

The [Expires](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#expiresdate) cookie attribute is supported, but in order to test cookie expiration we need to actually [wait for the expiry to happen](https://github.com/xeqi/peridot/blob/master/src/peridot/cookie_jar.clj#L79-L80). This becomes quickly infeasible if the expiry...

In newer `ring-core` versions a cookie can be given the attribute `:same-site` with values `:lax`, `:strict`, or `:none`. More info [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite). Peridot should mimick the behaviour of (modern) browser here...

My app is set up in a way that there are two multipart keys, one of which is a string, and the other is a file. Is there a way...

Hello, thank you very much for this very useful library. I wanted to upload to my app under the same key several files. This is not possible currently with paridot....

It would be nice to be able to use nested params. Example: ``` clojure (request state "/" :params {:user {:name "someone" :address {:line1 "somewhere"} :hobbies ["computers" "raising elephants"]}}) ``` This...

When debugging why a ring-anti-forgery test is failing, it's kind of hard without seeing the form urlencoded params that are being sent. I know what I think I'm sending, but...