http://qs1969.pair.com?node_id=11139878

beautyfulman has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: Browser not rendering PSGI html
by Your Mother (Archbishop) on Dec 25, 2021 at 04:33 UTC

    You told it not to render HTML but plain text.

    # Nope -> 'Content-Type' => 'text/plain; charset=UTF-8' 'Content-Type' => 'text/html; charset=utf-8' # ^^^ Yep
      I got tricked by my mind

        One of the best debugging techniques is to go away and do something completely different before coming back to your problem. If you're obsessing on something you can easily get tunnel vision that resetting your focus can clear up.

        The next best is to get someone else to look at your problem because they'll also be coming at things fresh. Only problem is that you'll then probably feel a bit silly when they do point out the glaringly obvious you've missed for however long.

        The cake is a lie.
        The cake is a lie.
        The cake is a lie.