You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Francisco Javier Cano (JIRA)" <ji...@apache.org> on 2014/10/09 11:27:33 UTC
[jira] [Created] (SHINDIG-1987) Headers propagation from client
request
Francisco Javier Cano created SHINDIG-1987:
----------------------------------------------
Summary: Headers propagation from client request
Key: SHINDIG-1987
URL: https://issues.apache.org/jira/browse/SHINDIG-1987
Project: Shindig
Issue Type: Question
Reporter: Francisco Javier Cano
Hello,
We need to perform a http headers pass through from the client request to the final widget xml resource server.
*Client*
{code}
➜ ~ curl -i --header "From: user@example.com" -XGET 'http://localhost:8080/shindig/gadgets/ifr?url=http://localhost:7777/incDecGadget.xml'
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
WWW-Authenticate: OAuth realm="shindig"
WWW-Authenticate: Bearer realm="shindig"
Expires: Thu, 09 Oct 2014 09:22:50 GMT
Cache-Control: private,max-age=300
ETag: "f7c1fde9fe34e5d10ec83ae8a560d167"
Content-Type: text/html;charset=UTF-8
Content-Length: 2150
Date: Thu, 09 Oct 2014 09:17:50 GMT
...
{code}
*Server*
{code}
127.0.0.1 - - [09/Oct/2014 11:17:12] "GET /incDecGadget.xml HTTP/1.1" 200 -
X-shindig-dos: on
Host: localhost:7777
Connection: Keep-Alive
User-Agent: Apache Shindig
Accept-Encoding: gzip, deflate
{code}
*PLUS* (Check Server logging)
{code}
➜ ~ curl -i --header "From: user@example.com" -XGET 'http://localhost:7777/incDecGadget.xml'
HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.7.6
Date: Thu, 09 Oct 2014 09:23:57 GMT
Content-type: application/xml
Content-Length: 871
Last-Modified: Wed, 08 Oct 2014 13:15:14 GMT
{code}
{code}
127.0.0.1 - - [09/Oct/2014 11:17:50] "GET /incDecGadget.xml HTTP/1.1" 200 -
User-Agent: curl/7.35.0
Host: localhost:7777
Accept: */*
From: user@example.com
{code}
Do we have a mechanism/configuration to allow the header pass throw?
Regards,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)