get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2229682/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2229682,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229682/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-wget-test-lwip-v1-1-f611cea0c5ee@cherry.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260428-wget-test-lwip-v1-1-f611cea0c5ee@cherry.de>",
    "date": "2026-04-28T15:55:42",
    "name": "test: wget: validate URI for lwIP",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2c9fb55447aede7e9e2e60615d0727679a55fc56",
    "submitter": {
        "id": 84425,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/84425/?format=api",
        "name": "Quentin Schulz",
        "email": "foss+uboot@0leil.net"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-wget-test-lwip-v1-1-f611cea0c5ee@cherry.de/mbox/",
    "series": [
        {
            "id": 501885,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501885/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501885",
            "date": "2026-04-28T15:55:42",
            "name": "test: wget: validate URI for lwIP",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501885/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229682/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229682/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.a=rsa-sha256\n header.s=20231125 header.b=Sfz3M2c/;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.b=\"Sfz3M2c/\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=foss+uboot@0leil.net"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4lQt3NWXz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 01:56:06 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2773C84605;\n\tTue, 28 Apr 2026 17:56:03 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 63CF88460E; Tue, 28 Apr 2026 17:55:58 +0200 (CEST)",
            "from smtp-42ab.mail.infomaniak.ch (smtp-42ab.mail.infomaniak.ch\n [84.16.66.171])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 354CF845CE\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 17:55:56 +0200 (CEST)",
            "from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch\n [10.7.10.108])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g4lQg4n1xzGL8;\n Tue, 28 Apr 2026 17:55:55 +0200 (CEST)",
            "from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g4lQf2FKTzPRH; Tue, 28 Apr 2026 17:55:54 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net;\n s=20231125; t=1777391755;\n bh=yGLHFYVVI/ci2d53+5V8GC3iDdL2yJnX+IXWBfgxe34=;\n h=From:Date:Subject:To:Cc:From;\n b=Sfz3M2c/dVOaYzUV5hMKcQ2ICfWscrOJ+NOcorfBwCzcnmvAkCdNlxOYRnTqcXRU0\n LOByMEP0ulsgbMNXiKuXqmyOamIv8DxHK5ycZQUk7o1YXQfbLlfJLV/zOoIZ2NItOI\n w9sSTLWnSp7srHZyP5RY+g2/YzAxLGmjuEEVGzCdL2YoSw7la0ek2AH/2gA0FYKuHd\n Rh+RH7dpzXFF2EIT6ghUxN1JGM3MTbUqSJVsBZ33IGQbKj5U80+/MYGLMagPskrKZG\n yn8FUzocV2PLEl7p3rE7SA6oZzvajya26OOM1ftYm2uN4W9YM5Wm32PkwUv5pXBvae\n cwLGw29TKI7+A==",
        "From": "Quentin Schulz <foss+uboot@0leil.net>",
        "Date": "Tue, 28 Apr 2026 17:55:42 +0200",
        "Subject": "[PATCH] test: wget: validate URI for lwIP",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260428-wget-test-lwip-v1-1-f611cea0c5ee@cherry.de>",
        "X-B4-Tracking": "v=1; b=H4sIAAAAAAAC/yXMywqDMBBG4VeRWTugQSX2VYoLjb92SrGSiRcQ3\n 920Lr/FOQcpvEDpkRzksYrKd4rI04Tcq51GsPTRZDJTZYWxvI0IHKCBP5vMXCO3rS1dZ4aaYjR\n 7DLL/h8/mti7dGy78LnSeF6qnxG9yAAAA",
        "X-Change-ID": "20260428-wget-test-lwip-9e18a85cb2f9",
        "To": "u-boot@lists.denx.de",
        "Cc": "Tom Rini <trini@konsulko.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Simon Glass <sjg@chromium.org>, Peter Robinson <pbrobinson@gmail.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Dinesh Maniyam <dinesh.maniyam@altera.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Sughosh Ganu <sughosh.ganu@arm.com>,\n Quentin Schulz <quentin.schulz@cherry.de>",
        "X-Mailer": "b4 0.15-dev-47773",
        "X-Infomaniak-Routing": "alpha",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From: Quentin Schulz <quentin.schulz@cherry.de>\n\nWe've had wget support in lwIP for almost a year now, so let's do *some*\nchecks in the form of validating URIs.\n\nThe other test in test/cmd/wget.c currently requires structures only\ndefined for CONFIG_NET_LEGACY so it's left out for now until someone\nports the test to lwIP.\n\nThis was tested with:\n\n./test/py/test.py --bd sandbox64_lwip --build -k net_test_wget\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n test/cmd/Makefile | 2 --\n test/cmd/wget.c   | 2 ++\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\n\n---\nbase-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e\nchange-id: 20260428-wget-test-lwip-9e18a85cb2f9\n\nBest regards,\n--  \nQuentin Schulz <quentin.schulz@cherry.de>",
    "diff": "diff --git a/test/cmd/Makefile b/test/cmd/Makefile\nindex 5f2815b1bb6..28bb8a82ca4 100644\n--- a/test/cmd/Makefile\n+++ b/test/cmd/Makefile\n@@ -39,9 +39,7 @@ obj-$(CONFIG_CMD_PWM) += pwm.o\n obj-$(CONFIG_CMD_READ) += rw.o\n obj-$(CONFIG_CMD_SETEXPR) += setexpr.o\n obj-$(CONFIG_CMD_TEMPERATURE) += temperature.o\n-ifdef CONFIG_NET_LEGACY\n obj-$(CONFIG_CMD_WGET) += wget.o\n-endif\n obj-$(CONFIG_ARM_FFA_TRANSPORT) += armffa.o\n endif\n obj-$(CONFIG_CMD_SPAWN) += spawn.o\ndiff --git a/test/cmd/wget.c b/test/cmd/wget.c\nindex 1005392b952..15c2a854e09 100644\n--- a/test/cmd/wget.c\n+++ b/test/cmd/wget.c\n@@ -23,6 +23,7 @@\n #include <test/test.h>\n #include <test/ut.h>\n \n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n #define SHIFT_TO_TCPHDRLEN_FIELD(x) ((x) << 4)\n #define LEN_B_TO_DW(x) ((x) >> 2)\n #define GET_TCP_HDR_LEN_IN_BYTES(x) ((x) >> 2)\n@@ -241,6 +242,7 @@ static int net_test_wget(struct unit_test_state *uts)\n \treturn 0;\n }\n CMD_TEST(net_test_wget, UTF_CONSOLE);\n+#endif\n \n static int net_test_wget_uri_validate(struct unit_test_state *uts)\n {\n",
    "prefixes": []
}