-
Testing code
``` ocaml
open Opium.Std
let all_cookies = get "/cookies" begin fun req ->
let cookies = req
|> Cookie.cookies
|> List.map ~f:(fun (k,v) -> k ^ "=" ^ v…
-
Currently, AFAIK, we can only serve static files in Opium by using the `static` middleware. If we want to, say, serve a specific file on a specific route (examples: `GET / => index.html`, `response co…
akxcv updated
4 years ago
-
**Quick questions**
OS: Windows 8.1
HOI4 version: 1.9.3
Kaiserreich version: Dev master 28.07.20 (pulled about 7 hours ago)
List any other mods used: None
Were you using Steam? Yes
Were you in m…
ghost updated
4 years ago
-
Okay - I admit a general lack of knowledge about anything more than the basics of OCaml packaging, but I seem unable to install opium from master.
```bash
$ opam pin add opium "https://github.com…
-
**Quick questions**
HOI4 version: 1.10.3
Kaiserreich version: Dev master 15.12.20 (screenshots from a few days before that but that shouldn't matter)
**Describe the change you would like:**
I wo…
ghost updated
3 years ago
-
- [x] I have searched the issue tracker to check if the issue has already been reported.
**Description**
The Medium Steel Cabinets/Trash Can in Outposts always contain no items. For the cabinets I…
-
As mentioned in the WM reading telecons, we did clustering over a subset of the P3 documents that MITRE/TwoSix recently shared. @jmacbrid from BBN, who recently joined our Hume team, went over those c…
-
## Goal
There is a dynamic service setup after the static functor service setup. The API should be more modular and more ergonomic.
## API
This is how the usage should look like:
```ocaml
module S…
-
This change happened in version `2.2.2`. Users updating to that version and using `opium` will be greeted with the following error:
```
[WARNING] Uncaught exception in handler: The default generat…
-
In the current Cohttp implementation, we have sexp derivers for all the underlying http types via Cohttp. As part of #94 we tried to build and run using httpaf-lwt-unix. The sexp ppx was turned off fo…