GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    josh (josh@poa.st)'s status on Wednesday, 01-Feb-2023 14:14:42 JST josh josh
    Okay retards (web developers), here's a question: What HTTP code should be used for interstitial pages on DDoS guards?

    See: en.wikipedia.org/wiki/List_of_HTTP_status_codes

    Cloudflare at some point switched to 503 which I hate. It's incorrect. I am considering using 511 (the code for things like WiFi Terms of Service pages).

    It's an interestingly unanswered question considering how the HTTP status code RFC is notoriously bloated (see 418 I am a Teapot). And, additionally, Cloudflare is working with Apple to make a new kind of anonymous and instant captcha that involves using your device ID.
    In conversation Wednesday, 01-Feb-2023 14:14:42 JST from poa.st permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: upload.wikimedia.org
      List of HTTP status codes
      This is a list of Hypertext Transfer Protocol (HTTP) response status codes. Status codes are issued by a server in response to a client's request made to the server. It includes codes from IETF Request for Comments (RFCs), other specifications, and some additional codes used in some common applications of the HTTP. The first digit of the status code specifies one of five standard classes of responses. The optional message phrases shown are typical, but any human-readable alternative may be provided, or none at all. Unless otherwise stated, the status code is part of the HTTP standard (RFC 9110). The Internet Assigned Numbers Authority (IANA) maintains the official registry of HTTP status codes.All HTTP response status codes are separated into five classes or categories. The first digit of the status code defines the class of response, while the last two digits do not have any classifying or categorization role. There are five classes defined by the standard: 1xx informational response – the request was received, continuing process 2xx successful – the request was successfully received, understood...
    • Alex Gleason likes this.
    • Embed this notice
      CatboyCumDump :blacklight: (catboycumdump@poa.st)'s status on Wednesday, 01-Feb-2023 14:14:52 JST CatboyCumDump :blacklight: CatboyCumDump :blacklight:
      in reply to
      @josh use 418 until you figure it out
      In conversation Wednesday, 01-Feb-2023 14:14:52 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Wednesday, 01-Feb-2023 14:17:44 JST Alex Gleason Alex Gleason
      in reply to
      • Boyka

      @Boyka @josh I don’t have any strong feelings about what’s semantically “correct”, but I would probably copy what Cloudflare is doing for the sake of compatibility. That’s the Fediverse dev mindset.

      In conversation Wednesday, 01-Feb-2023 14:17:44 JST permalink
    • Embed this notice
      Boyka (boyka@poa.st)'s status on Wednesday, 01-Feb-2023 14:17:46 JST Boyka Boyka
      in reply to
      • Alex Gleason
      @josh @alex
      In conversation Wednesday, 01-Feb-2023 14:17:46 JST permalink
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Wednesday, 01-Feb-2023 14:19:20 JST Alex Gleason Alex Gleason
      in reply to
      • Alex Gleason
      • Boyka

      @Boyka @josh 503 makes sense because if you’re a human you don’t care about the HTTP status code. But if you’re a bot, you’re not getting past that page. So “service unavailable” actually does make perfect sense.

      In conversation Wednesday, 01-Feb-2023 14:19:20 JST permalink
    • Embed this notice
      Neko McCatface v2023 :verified::makemeneko: (roboneko@bae.st)'s status on Wednesday, 01-Feb-2023 15:30:15 JST Neko McCatface v2023 :verified::makemeneko: Neko McCatface v2023 :verified::makemeneko:
      in reply to
      • Alex Gleason
      • Boyka
      @alex @Boyka @josh I don't think "service unavailable" makes sense here because in fact the service _is_ available but access is being denied for whatever reason

      "403 forbidden" seems clear enough to me

      "450 Blocked by Windows Parental Controls" would be amusing

      of course the page should just clearly state "we think you're a bot" in plain english and at that point it's all sort of irrelevant

      in fact you might just return 200 and a static page that explains what's going on
      In conversation Wednesday, 01-Feb-2023 15:30:15 JST permalink
      Alex Gleason likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.