If it worked before it was by accident. In 6.38 it would ignore any
unrecognized generator. You can get that same behavior by just leaving out
the 'body' parameter.

On Fri, Jul 15, 2016 at 1:28 PM, Todd <[email protected]> wrote:

> Weird, there used to be a body because it worked in 6.38, and unfortunate,
> because I'm using that to proxy a request to an elasticsearch server and
> the js code (searchkit.js) does exactly that and switching to "form"or
> "json" confuses the ES server.
>
> Back to the drawing board...
>
> On Friday, July 15, 2016 at 11:10:31 AM UTC-6, Dan Book wrote:
>>
>> There is no 'body' generator, only 'form' or 'json'.
>> https://metacpan.org/pod/Mojo::UserAgent::Transactor#GENERATORS
>>
>> Since you said $newjson is a hashref, you probably wanted the json
>> generator.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to