Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Browser not rendering PSGI html

by beautyfulman (Sexton)
on Dec 25, 2021 at 02:14 UTC ( #11139878=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11139878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-07-07 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?