in reply to Re: Dancer2 serializer mutable
in thread Dancer2 serializer mutable

Thank you LOTS for your answer... this call works however curl -H 'Accept: text/x-yaml' http://localhost:3000/user/1 doesn't return anything either:S do you know why?

Replies are listed 'Best First'.
Re^3: Dancer2 serializer mutable
by choroba (Cardinal) on Nov 08, 2018 at 22:25 UTC
    It doesn't return anything to me, either. Maybe a specific YAML library is needed? You can always report a bug against Dancer2.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Ok thanks a lot! I think I am just gonna ditch that since I do need xml :S