You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ryan Baxter (JIRA)" <ji...@apache.org> on 2014/10/09 22:22:34 UTC

[jira] [Commented] (SHINDIG-1987) HTTP headers propagation from client request

    [ https://issues.apache.org/jira/browse/SHINDIG-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165675#comment-14165675 ] 

Ryan Baxter commented on SHINDIG-1987:
--------------------------------------

I dont think so, what headers do you need to flow through?

> HTTP 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)