-
Sometimes user needs to return json as text/plain type (because IE9).
This works:
``` clj
(-> (ok (cheshire.core/generate-string {:ping "pong"}))
(content-type "text/plain"))
```
Source: https:…
-
GuzzleHttp\Ring\Exception\RingException: cURL error 3: in /home/bastify/public_html/clientarea/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php:127
Stack trace:
#0 /home/bastify/public_html/clie…
-
If I go to a function in one of my deps (such as ring.middleware.session.cookie) and try to instrument a function there, such as the below on line 77 (in v1.9.5):
```
(defn- ^String serialize [x o…
-
I can contribute a PR here if desired. Just want to document the bug first.
**Description:**
`babashka.http-server` is used with [Live.js](https://livejs.com) to hot-reload changes to HTML, CSS, a…
-
The log is full of `CoercionError`s like this one:
```
2022-09-09 12:03:41,874 [XNIO-1 task-23] ERROR y-video-back.middleware.exception - Request coercion failed: #reitit.coercion.CoercionError{:s…
-
I've got a pretty simple setup:
```
(def app (-> all-routes
(middleware/app-handler :session-options {:cookie-name "dd-session"
:sto…
-
Attempting to add public datasets [from here](https://cloud.google.com/bigquery/public-data/) fails.
e.x. "Invalid dataset ID \"bigquery-public-data:usa_names.usa_1910_2013\". Dataset IDs must be alp…
-
After doing my creds
(defcredential {:access-key ""
:secret-key ""
:endpoint "us-east-1"})
=> {:access-key "A...", :secret-key "...", :endpoint "us-east-1"}
…
-
compress static files (css,images,txt..etc)
-
Creating a new luminus project using `lein new luminus new-project +cljs` produces a bug in the `new-project.routes.home` namespace.
When the user runs `lein run` they will get this error:
```
…