Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D6277200BF8 for ; Fri, 13 Jan 2017 20:44:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D4A5E160B3F; Fri, 13 Jan 2017 19:44:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 28D4E160B2E for ; Fri, 13 Jan 2017 20:44:54 +0100 (CET) Received: (qmail 18270 invoked by uid 500); 13 Jan 2017 19:44:53 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 18257 invoked by uid 99); 13 Jan 2017 19:44:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 19:44:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6961C1A0628 for ; Fri, 13 Jan 2017 19:44:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UwFnIpzfFAsD for ; Fri, 13 Jan 2017 19:44:50 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D60655FBE1 for ; Fri, 13 Jan 2017 19:44:49 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id r185so45138700ita.0 for ; Fri, 13 Jan 2017 11:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=V9m1cnZ0RGAx7SUT4bJhLAgFszULGwQQBqSrhRK1bOo=; b=h2a63LNL2lVxs1yTF7XA8udZwAFhU2ZSmNkL1X1sJudWvC1dm05zsQuSnMdEN3Gikv zGBy+4kHlbHqicfsGTvcboEP6F2OW05RGvNCvDOQNYtcAL6tQt6r1oGRr/ffEsNh6oLT AJzLVd2Vc+d5DuL6pg4HQc0mSQnUizES2ESP2URYhnoQSkEOBlk76lml3eg+zucTHF5f al6D63WbpeFN7ULttuEFhsADTH9g3IEUDB4HkGeEmDub1dU8YgMnyUZfV71UyPafgTxW zT7CczvQSplH2SQ/+pTAhOo1KuP/0nB1mC/skXUpDWidt3gW9vZ9fZ9Op2e3QUsCZE3z Jemw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=V9m1cnZ0RGAx7SUT4bJhLAgFszULGwQQBqSrhRK1bOo=; b=Hz0TW2iAGZaFEXygndUmUM+l/blxmLHSFNIivvwOBYC+QsrLIRrsZ7+HNtuwZ5FeCP 5k1Ano9K3bXmvT+L4g/xY1pCfFZeNUKVDnL/Q6N6KZjW3BHoUXNvcXgHILFzgj5uBn4I 1lXfmeCxelZK6zSbGZPnj3o/AvxD9dKxF/VF+0AGbC1NnrsxFiuaBJvkoHvT3pUdH29f ySyBkjty94CdrfkRO+gVXAr42q1raMWIwyjz7BktZ7NYsYNDLSR8v5LesnUCqOlxtYqX GxEcKy+6uSLB5uEdj6WJOhsf0wJL2nwTnNH1PFJvTiaj5XEIS/VlR1WHy/OmcVQ6RbDy IFIA== X-Gm-Message-State: AIkVDXJj1w9m5WjiQjKMb0tB+RjvHzlTegqaZkIroOaFMLd2kVyrMfF0EzVOpJdePjjsTZwKTj/pkfKVMW4lXw== X-Received: by 10.36.27.70 with SMTP id 67mr4303544its.122.1484336682806; Fri, 13 Jan 2017 11:44:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.52.10 with HTTP; Fri, 13 Jan 2017 11:44:02 -0800 (PST) In-Reply-To: References: <35BC6D85-1734-4F43-9175-EA27CF6821C8@me.com> From: Rodric Rabbah Date: Fri, 13 Jan 2017 14:44:02 -0500 Message-ID: Subject: Re: Allow actions to be accessible from a web browser To: dev@openwhisk.apache.org Content-Type: multipart/alternative; boundary=001a11449c60b4b4e40545ff10c1 archived-at: Fri, 13 Jan 2017 19:44:55 -0000 --001a11449c60b4b4e40545ff10c1 Content-Type: text/plain; charset=UTF-8 More on this: > One issue with using "." as the separator is that it's also a legal character for action names. We could mandate that if an extension is present it is a content-type and not an action name. Hence if the action is called "myaction.html" and to turn the response into "text/html" then the resource is ".../myaction.html.html/some-field". In the absence of an extension, the default is JSON. Felix I amended the pr with your suggestions to track progress. -r --001a11449c60b4b4e40545ff10c1--