Thanks Wolf. My mistake was defining a response record earlier in the
script which I did not show. Once removed everything works as expected. BTW
works with or without receive because body is empty (#f).
Thanks again
Mortimer
On Wed, Aug 9, 2023 at 6:23 PM wolf wrote:
> On 2023-08-09 10:18:05 -0
On 2023-08-09 10:18:05 -0400, Mortimer Cladwell wrote:
> Hi,
> I am running a local fake Urbit zod on port 8080. I want to submit an
> http-request and obtain an urbauth id cookie. I run the following method:
>
> (use-modules (web client)(web response) (srfi srfi-9)(oop goops) (ice-9
> receive) (i
On 2023-08-09 10:18:05 -0400, Mortimer Cladwell wrote:
> Hi,
> I am running a local fake Urbit zod on port 8080. I want to submit an
> http-request and obtain an urbauth id cookie. I run the following method:
>
> (use-modules (web client)(web response) (srfi srfi-9)(oop goops) (ice-9
> receive) (i
a couple more:
(pretty-print (record? a)) ==> #t
(pretty-print (record-predicate a)) ==> not-a-record-type #<
version: (1 . 1) code: 204 reason-phrase: "ok" headers: ((date . #) (connection close) (server . "urbit/vere-2.11")
(set-cookie . "urbauth-~zod=0vao7n2.lcut2.mu17h.9dgil.2o48i; Path=/;