(CommandList
  children: [
    (C {(printf)} 
      {(DQ ("Status: 500 Intentional Breakage") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">))}
    )
    (C {(printf)} {(DQ ("Content-Type: "))})
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:charset) op:Equal rhs:{(iso-8859-1)} spids:[18])]
      spids: [18]
    )
    (Case
      to_match: {(DQ ($ VSub_Name "$PATH_INFO"))}
      arms: [
        (case_arm
          pat_list: [{(Lit_Other "*") (html) (Lit_Other "*")}]
          action: [(C {(printf)} {(DQ (text/html))})]
          spids: [29 32 42 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*") (text) (Lit_Other "*")}]
          action: [(C {(printf)} {(DQ (text/plain))})]
          spids: [44 47 57 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*") (charset) (Lit_Other "*")}]
          action: [
            (C {(printf)} {(DQ ("text/plain; charset=utf-8"))})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:charset) op:Equal rhs:{(utf-8)} spids:[72])]
              spids: [72]
            )
          ]
          spids: [59 62 76 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*") (utf16) (Lit_Other "*")}]
          action: [
            (C {(printf)} {(DQ ("text/plain; charset=utf-16"))})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:charset) op:Equal rhs:{(utf-16)} spids:[91])]
              spids: [91]
            )
          ]
          spids: [78 81 95 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*") (odd-spacing) (Lit_Other "*")}]
          action: [
            (C {(printf)} {(DQ ("text/plain; foo=bar ;charset=utf-16; other=nonsense"))})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:charset) op:Equal rhs:{(utf-16)} spids:[110])]
              spids: [110]
            )
          ]
          spids: [97 100 114 -1]
        )
      ]
      spids: [21 27 116]
    )
    (C {(printf)} {(DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\n">))})
    (C {(printf)} {(DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\n">))})
    (Pipeline
      children: [
        (C {(printf)} 
          {(DQ ("this is the error message") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">))}
        )
        (C {(iconv)} {(-f)} {(us-ascii)} {(-t)} {($ VSub_Name "$charset")})
      ]
      negated: False
    )
  ]
)