This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-25
Channels
- # announcements (4)
- # asami (26)
- # babashka (82)
- # beginners (27)
- # biff (6)
- # boot (1)
- # calva (42)
- # cider (2)
- # clj-commons (1)
- # clj-http-lite (2)
- # clj-kondo (37)
- # cljdoc (1)
- # clojure (46)
- # clojure-europe (34)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (2)
- # clojurescript (54)
- # code-reviews (18)
- # cursive (2)
- # datalevin (32)
- # datomic (7)
- # etaoin (1)
- # fulcro (9)
- # gratitude (3)
- # hyperfiddle (15)
- # introduce-yourself (1)
- # jobs (2)
- # lsp (32)
- # nrepl (1)
- # off-topic (18)
- # pathom (17)
- # pedestal (5)
- # polylith (89)
- # reitit (7)
- # releases (3)
- # remote-jobs (4)
- # shadow-cljs (52)
- # spacemacs (3)
- # squint (14)
- # tools-build (10)
- # tools-deps (18)
- # vim (4)
- # xtdb (34)
I am currently trying to create my own version of s3-presigned-url. Where a client can receive and signed-URL and upload their file via the URL and a PUT request. The link generation has gone fine and I can reach my server. I am using pedestal. However it's the file itself I am having a hard time figuring out how to handle. I send the request where the body is the binary file. But what I receive is an org.eclipse.jetty.server.HttpInputOverHTTP object which I have no idea how to handle. I would really like not to switch away from using a PUT request, so is there anybody who can help me on how to handle this, maybe with an interceptor?
I have seen suggestions of using https://ring-clojure.github.io/ring/ring.middleware.multipart-params.html - But that would require changing from PUT to POST, which i would rather not