I'm guessing the author of the code got reply and respond_to (content 
negotiation) confused.

On Wednesday, March 15, 2017 at 9:08:50 AM UTC-5, Rob Willett wrote:
>
> Wow that was quick :)
>
> So is the solution simply removing 
>
> text => $status->{text}
>
> from our response?
>
> We have tried removing the text field and it does *seem* to make iu work, 
> but I recall (place no value on my recollection) that the text field was 
> needed. For the life of me I cannot remember why though as we wrote this 
> code over a year ago.
>
> Rob
>
> On Wed, Mar 15, 2017 at 2:05 PM, sri wrote:
>
>> I remember this change.
>>
>>     
>> https://github.com/kraih/mojo/commit/dc8b5d0f0bdaabb4957db5a7f54d14514b460f37
>>
>> The "text" stash value got precedence over "json", how exactly they are 
>> supposed to behave
>> when used together is undefined however. So don't depend on it.
>>
>> --
>> sebastian
>>
>> -- 
>> 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