<div dir="ltr">Oh, it happens with servant on the client side.<div><br></div><div>I use a swagger-codegen generated servant based client to access kubernetes.</div><div>Calling <a href="https://github.com/soundcloud/haskell-kubernetes/blob/master/lib/Kubernetes/Api/ApivApi.hs#L475">https://github.com/soundcloud/haskell-kubernetes/blob/master/lib/Kubernetes/Api/ApivApi.hs#L475</a> works</div><div>Calling <a href="https://github.com/soundcloud/haskell-kubernetes/blob/master/lib/Kubernetes/Api/ApivApi.hs#L473">https://github.com/soundcloud/haskell-kubernetes/blob/master/lib/Kubernetes/Api/ApivApi.hs#L473</a> doesn't.</div><div><br></div><div>From what I see the `<span class="inbox-inbox-pl-en" style="box-sizing:border-box;color:rgb(121,93,163);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">QueryParam</span><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"> "</span><span class="inbox-inbox-pl-smi" style="box-sizing:border-box;color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">labelSelector</span><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)">" </span><span class="inbox-inbox-pl-en" style="box-sizing:border-box;color:rgb(121,93,163);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">Text`</span><font size="2"><span class="inbox-inbox-pl-en" style="box-sizing:border-box;color:rgb(121,93,163);font-family:consolas,"liberation mono",menlo,courier,monospace;white-space:pre"> </span><span class="inbox-inbox-pl-en" style="box-sizing:border-box;white-space:pre">is the same in both.</span></font></div><div><font size="2"><span class="inbox-inbox-pl-en" style="box-sizing:border-box;white-space:pre"><br></span></font></div><div><font size="2"><span class="inbox-inbox-pl-en" style="box-sizing:border-box;white-space:pre">Logging the value gives the literal `=` as expected. Logging the </span></font><span style="font-size:small;white-space:pre">(http-client) </span><span style="white-space:pre;font-size:small">requests shows the difference.</span></div><div><span style="white-space:pre;font-size:small"><br></span></div><div><span style="white-space:pre;font-size:small">Best</span></div><div><span style="white-space:pre;font-size:small">Jan</span></div></div><br><div class="gmail_quote"><div dir="ltr">Nigel Rantor <<a href="mailto:wiggly@wiggly.org">wiggly@wiggly.org</a>> schrieb am Sa., 14. Jan. 2017 um 18:11 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13/01/17 19:28, Jan von Löwenstein wrote:<br class="gmail_msg">
> Hi,<br class="gmail_msg">
><br class="gmail_msg">
> I have got a two places with a `QueryParam "q" Text` and call it with a<br class="gmail_msg">
> Text that contains a `=` literal. In one place the `=` is correctly<br class="gmail_msg">
> encoded as %3D, in the other I see a `!D(MISSING)`.<br class="gmail_msg">
><br class="gmail_msg">
> This has to happen somewhere in Servant or the lower layers. Both Texts<br class="gmail_msg">
> print out nicely with an `=` sign if I just print them to stdout.<br class="gmail_msg">
><br class="gmail_msg">
> Google does not find `!D(MISSING)` anywhere.<br class="gmail_msg">
><br class="gmail_msg">
> Any idea what could possibly be the problem here?<br class="gmail_msg">
<br class="gmail_msg">
It would be really useful to see exactly how you are 'calling' this.<br class="gmail_msg">
<br class="gmail_msg">
Do you have a curl command line or are you using some other client?<br class="gmail_msg">
<br class="gmail_msg">
n<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Haskell-Cafe mailing list<br class="gmail_msg">
To (un)subscribe, modify options or view archives go to:<br class="gmail_msg">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" class="gmail_msg" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="gmail_msg">
Only members subscribed via the mailman list are allowed to post.</blockquote></div>