Hacker News new | ask | show | jobs
by ubertaco 1557 days ago
I did a `curl https://plaintextsports.com/mls/standings` and, to my surprise, got an HTML response back (rather than just plaintext data).

Seems like this isn't actually plaintext (as in the mimetype `text/plain`), but is instead just "minimalist-aesthetic sports" (with the caveat that for some reason there's CSS styling to make the font unreadably small at 2560x1440, which was what led me to try `curl` in the first place, assuming that since it'd be plaintext, I could just get the data in plaintext without any extra CSS formatting making it hard to read).

2 comments

    $ curl -X GET https://plaintextsports.com/ -H 'Accept: text/plain' | head
    <html translate="no">
      <head>
        <meta charset="utf-8">
        <meta name="google" content="notranslate" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="format-detection" content="telephone=no">
        <title>Plain Text Sports</title>
:(
Yep, seems we're all unclear on what the actual intent is here since it seems to fail most of the use cases that "plain text" brings to mind.