Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 964C119178 for ; Fri, 29 Apr 2016 21:27:16 +0000 (UTC) Received: (qmail 36127 invoked by uid 500); 29 Apr 2016 21:27:16 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 36077 invoked by uid 500); 29 Apr 2016 21:27:16 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 36054 invoked by uid 99); 29 Apr 2016 21:27:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 21:27:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3877F180572 for ; Fri, 29 Apr 2016 21:27:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ctM5QiDBmcuG for ; Fri, 29 Apr 2016 21:27:14 +0000 (UTC) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4CB145F241 for ; Fri, 29 Apr 2016 21:27:14 +0000 (UTC) Received: by mail-vk0-f46.google.com with SMTP id m188so6005335vka.1 for ; Fri, 29 Apr 2016 14:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=G7MPlkZw6bzNPcOUceH2Ulp574vjEd9iflb0UCFmSsw=; b=d+Dz9DqoS1WqfElKzlaefg3ypbYfsQLyHx8RPbdYLGBuenvqAZznlZxCa9maggGjT9 UNt7Zvg0vSImJs3oX7879x97ttPovlLdN5aEfEP2/AaO14TnqXtBSfvUuQIvTQsTGIhn VZucgZ2pi3chQtj6OGGM7nsfJwyYxc+TjfIbcLz6TBT93qp+M9hMakB7LGIn/oneI2qR LwCjLlGqCR8mIk6HddKaPDUeLu9FLSWa+RpuE81hwkl+p98JJlpL6e4y7kLETKD+FdVu clBj9Z/btRqzB/oFA4SK8kLvw3KZkqx4uLGk5Yn+NCXNLZtN6ilnQb2YFbJEcwjgjx+I q7Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=G7MPlkZw6bzNPcOUceH2Ulp574vjEd9iflb0UCFmSsw=; b=VOh3Qxj07Iq2DM/lfgDi+lGGs5Vt8z5nN6QBKrVHumrwvvreYW9+1SmObaLe1rKj5s L9zxOA/cDKaq09kSrbl5cvHv0Z3ZuvMojuG80qdzJlleZH+0ArHgF8wD7OX20Fluypck 1zcqgxpzhxfMy/SIF0OCLEqTiNlQuH4L2k0hgvO51eJ3tlc1HM2dURhq3cfJwDiM6qVv mobg0z1+UrVrpFxH5frbrw9un3hMoPdGsczZeVwp6as7z6KnY94M3qLAmz40kCPGHMtc +Vw06KG32pV7/Es1Qb2dcfO0YU2p/qJrrElweM79nonhVfAM70umk7SePJATHVn3PSeV gzpw== X-Gm-Message-State: AOPr4FVhXew0plGW1lzwLlO3Cj9f1bJtgS73Xa5tkU6G5+mwLm5M6d33qiDx7VP5k7e+hguSi1c0j4uotaEaIw== MIME-Version: 1.0 X-Received: by 10.31.236.195 with SMTP id k186mr571428vkh.112.1461965227133; Fri, 29 Apr 2016 14:27:07 -0700 (PDT) Received: by 10.176.66.97 with HTTP; Fri, 29 Apr 2016 14:27:07 -0700 (PDT) Date: Fri, 29 Apr 2016 16:27:07 -0500 Message-ID: Subject: How to pass a single space as a query parameter in rest dsl? From: Matt Sicker To: users@camel.apache.org Content-Type: multipart/alternative; boundary=94eb2c0955a00995660531a64eb2 --94eb2c0955a00995660531a64eb2 Content-Type: text/plain; charset=UTF-8 Suppose I have a simple REST DSL: rest().get("/test").route().setBody(header("foo")); Then I do something like: curl http://localhost:8080/test?foo=+ I get an empty response because ${headers.foo} is null for some reason. This isn't expected behavior, especially because the query parameters aren't supposed to be URL-decoded by default. If it helps, I'm using the netty4 rest binding. -- Matt Sicker --94eb2c0955a00995660531a64eb2--