get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 804018,
    "url": "http://patchwork.ozlabs.org/api/patches/804018/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/1503333385-15051-4-git-send-email-andrei.otcheretianski@intel.com/",
    "project": {
        "id": 22,
        "url": "http://patchwork.ozlabs.org/api/projects/22/?format=api",
        "name": "HostAP Development",
        "link_name": "hostap",
        "list_id": "hostap.lists.infradead.org",
        "list_email": "hostap@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503333385-15051-4-git-send-email-andrei.otcheretianski@intel.com>",
    "list_archive_url": null,
    "date": "2017-08-21T16:36:24",
    "name": "tests: fix radius_acct_failure_sta_data test",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0f3953cc293c5baa2be7f95903c8e6e065bfcc4f",
    "submitter": {
        "id": 62065,
        "url": "http://patchwork.ozlabs.org/api/people/62065/?format=api",
        "name": "Andrei Otcheretianski",
        "email": "andrei.otcheretianski@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/1503333385-15051-4-git-send-email-andrei.otcheretianski@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/804018/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/804018/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"pyRdL49C\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xbZZN0mmPz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 21 Aug 2017 23:40:28 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1djmw2-0001jn-Dx; Mon, 21 Aug 2017 13:40:06 +0000",
            "from mga04.intel.com ([192.55.52.120])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1djmv5-0008ID-Rl\n\tfor hostap@lists.infradead.org; Mon, 21 Aug 2017 13:39:33 +0000",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Aug 2017 06:37:29 -0700",
            "from unknown (HELO andrei-XPS-12-9Q33.ger.corp.intel.com)\n\t([10.12.217.183])\n\tby fmsmga001.fm.intel.com with ESMTP; 21 Aug 2017 06:37:27 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=8V3+N01faveE2QVzyEgaQCptjpF5t4hy5r9u5SwN+Y0=;\n\tb=pyR\n\tdL49CojtyMF1xZ2tn3GmdAqrgas/eSxCrDL+TUlNJKtM1L5QL2GJS5q/FIo76dD5OTzfwQI4u6hBQ\n\tTklBvK8KQJRCRfhdEB+Zi7xW2nOTS8Aq1nc5QdCkILLN6NKzlTR5TRm+eAx8E3UmTw0lBIJeyvaA2\n\t9POjSNtnvV8+MnuIKtRYdlp05DpXDW/NQnFtDhjmSOufFiWQUPWRMxgfCnkli31iJIp5CS3jS8URj\n\tKK332t3LeKSD/4NjCFOpvBq+SaUSFDQESJs+UL5RbCsR1T85bowZilkLJF19b8ZwV/1oJ5xbsj+qD\n\t/+QkJ1xzHOXqXawaBzs+UKq2SVKaxVQ==;",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.41,409,1498546800\"; d=\"scan'208\";\n\ta=\"1186135977\"",
        "From": "Andrei Otcheretianski <andrei.otcheretianski@intel.com>",
        "To": "hostap@lists.infradead.org",
        "Subject": "[PATCH] tests: fix radius_acct_failure_sta_data test",
        "Date": "Mon, 21 Aug 2017 19:36:24 +0300",
        "Message-Id": "<1503333385-15051-4-git-send-email-andrei.otcheretianski@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170821_063908_270610_E6B35FD0 ",
        "X-CRM114-Status": "UNSURE (   6.33  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-4.2 (----)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [192.55.52.120 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "hostap@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<hostap.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/hostap/>",
        "List-Post": "<mailto:hostap@lists.infradead.org>",
        "List-Help": "<mailto:hostap-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=subscribe>",
        "Cc": "Andrei Otcheretianski <andrei.otcheretianski@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Hostap\" <hostap-bounces@lists.infradead.org>",
        "Errors-To": "hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "The STA can get disconnected event before the AP processed the\ndeauthentication frame, resulting in GET_FAIL command being sent\ntoo early. Fix this by waiting for AP-STA-DISCONNECTED on AP side too.\n\nSigned-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>\n---\n tests/hwsim/test_radius.py | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py\nindex 96e56a3..046579e 100644\n--- a/tests/hwsim/test_radius.py\n+++ b/tests/hwsim/test_radius.py\n@@ -1640,3 +1640,4 @@ def test_radius_acct_failure_sta_data(dev, apdev):\n         dev[0].connect(\"radius-acct-open\", key_mgmt=\"NONE\", scan_freq=\"2412\")\n         dev[0].request(\"DISCONNECT\")\n         dev[0].wait_disconnected()\n+        hapd.wait_event([\"AP-STA-DISCONNECTED\"], timeout=1)\n",
    "prefixes": []
}