From patchwork Tue Jul 23 12:27:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Terceiro X-Patchwork-Id: 18538 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2BE412390D for ; Tue, 23 Jul 2013 12:27:28 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id l109sf1221319yhq.9 for ; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=ZwUQqjCQqj8dKyJfdN6hE4oZxsG8lcRrvlgNcAKCgFc=; b=ait8ajyXgPK+9sWLE4W8is0mOEpbICU8NOlNoxW33cSTbF3e61WTGmjRQiwYG+cWuV jkJKadmUccMll6Z8t3g+yNgzjXtoJqqrpmZMvQFrFVvdKlQlPL0TY5/02BIdusto1bZ7 wkj/8xjMKXDYEs/v8wF0TlD5rjnOIOoipHjBOTxj9ibtzfgNjhK+yMPzsPwuWK/dGNJM UuIgD6Jzyn6YpS42sgeiDGz0e7GveIhzeP9wsvTcYA5/chB/eyVxq16210NOtVB+2EjV DPHwD+vp/e2zdRECu5lpDBkXNn2wshMa/Ln6acDXUO3IhbEDQmNzi3J8xdzRJFK6VBD6 ZRjA== X-Received: by 10.236.46.105 with SMTP id q69mr6607268yhb.22.1374582447653; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.164 with SMTP id q4ls3103707qek.31.gmail; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) X-Received: by 10.52.27.172 with SMTP id u12mr9263655vdg.64.1374582447509; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id sj10si8279987vdc.105.2013.07.23.05.27.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Jul 2013 05:27:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id pb11so5984030veb.37 for ; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) X-Received: by 10.220.67.10 with SMTP id p10mr10975830vci.85.1374582447427; Tue, 23 Jul 2013 05:27:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp104503veb; Tue, 23 Jul 2013 05:27:26 -0700 (PDT) X-Received: by 10.180.74.162 with SMTP id u2mr32636124wiv.36.1374582446403; Tue, 23 Jul 2013 05:27:26 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id dh3si13087466wjc.164.2013.07.23.05.27.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Jul 2013 05:27:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1V1bgb-0006UE-RN for ; Tue, 23 Jul 2013 12:27:25 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id BC76CE0581 for ; Tue, 23 Jul 2013 12:27:25 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 411 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 411: Make trailing slash optional in the API URL Message-Id: <20130723122725.3997.38869.launchpad@ackee.canonical.com> Date: Tue, 23 Jul 2013 12:27:25 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16700"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 8b5c4a372a3cd7a4c02cfd370e7bbf88a7e77524 X-Gm-Message-State: ALoCoQnrrIELTx7bQX/eIbfEOq0+kPynvo8slwJYttX8M4dLaW5NkA9HDQKeSQ/iTgLd3hAnY4lo X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Antonio Terceiro (terceiro) Related merge proposals: https://code.launchpad.net/~terceiro/lava-server/api-trailing-slash/+merge/175880 proposed by: Antonio Terceiro (terceiro) review: Approve - James Tunnicliffe (dooferlad) ------------------------------------------------------------ revno: 411 [merge] committer: Antonio Terceiro branch nick: trunk timestamp: Tue 2013-07-23 09:26:29 -0300 message: Make trailing slash optional in the API URL modified: lava_server/urls.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/urls.py' --- lava_server/urls.py 2012-11-09 22:40:16 +0000 +++ lava_server/urls.py 2013-07-19 16:03:39 +0000 @@ -52,7 +52,7 @@ include(admin.site.urls)), url(r'^{mount_point}openid/'.format(mount_point=settings.MOUNT_POINT), include('django_openid_auth.urls')), - url(r'^{mount_point}RPC2/'.format(mount_point=settings.MOUNT_POINT), + url(r'^{mount_point}RPC2/?'.format(mount_point=settings.MOUNT_POINT), 'linaro_django_xmlrpc.views.handler', name='lava.api_handler', kwargs={