You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Arne Roomann-Kurrik <ku...@google.com> on 2009/10/13 21:09:07 UTC

List of stripped / allowed http headers from Java makeRequest?

I've been looking for the comprehensive list of HTTP headers which are
allowed for osapi.http / makeRequest requests and responses.  So far, it
looks like Java Shindig forbids setting "HOST", "ACCEPT", and
"ACCEPT-ENCODING" in requests, but I can't seem to find where response
headers are filtered.
Can someone point me in the right direction?

Thanks,
~Arne

Re: List of stripped / allowed http headers from Java makeRequest?

Posted by Arne Roomann-Kurrik <ku...@google.com>.
Ah, I had missed it, and forgot that grepping for "Set-Cookie" would be case
sensitive :(
Thanks!
~Arne


On Tue, Oct 13, 2009 at 1:28 PM, Louis Ryan <lr...@google.com> wrote:

> From
>
> ProxyBase.java
>
> "set-cookie", "content-length", "content-encoding", "etag", "last-modified"
> ,"accept-ranges",
>      "vary", "expires", "date", "pragma", "cache-control",
> "transfer-encoding", "www-authenticate"
>
> On Tue, Oct 13, 2009 at 12:09 PM, Arne Roomann-Kurrik <kurrik@google.com
> >wrote:
>
> > I've been looking for the comprehensive list of HTTP headers which are
> > allowed for osapi.http / makeRequest requests and responses.  So far, it
> > looks like Java Shindig forbids setting "HOST", "ACCEPT", and
> > "ACCEPT-ENCODING" in requests, but I can't seem to find where response
> > headers are filtered.
> > Can someone point me in the right direction?
> >
> > Thanks,
> > ~Arne
> >
>

Re: List of stripped / allowed http headers from Java makeRequest?

Posted by Louis Ryan <lr...@google.com>.
From

ProxyBase.java

"set-cookie", "content-length", "content-encoding", "etag", "last-modified"
,"accept-ranges",
      "vary", "expires", "date", "pragma", "cache-control",
"transfer-encoding", "www-authenticate"

On Tue, Oct 13, 2009 at 12:09 PM, Arne Roomann-Kurrik <ku...@google.com>wrote:

> I've been looking for the comprehensive list of HTTP headers which are
> allowed for osapi.http / makeRequest requests and responses.  So far, it
> looks like Java Shindig forbids setting "HOST", "ACCEPT", and
> "ACCEPT-ENCODING" in requests, but I can't seem to find where response
> headers are filtered.
> Can someone point me in the right direction?
>
> Thanks,
> ~Arne
>