Clarified Request.isPushSupported().
Now isPushSupported() returns true only if the request is not a synthentic request generated by a push.
This commit is contained in:
parent
26217a73c1
commit
261bea7bc7
|
@ -225,7 +225,7 @@ public class Request implements HttpServletRequest
|
|||
/* ------------------------------------------------------------ */
|
||||
public boolean isPushSupported()
|
||||
{
|
||||
return getHttpChannel().getHttpTransport().isPushSupported();
|
||||
return !isPush() && getHttpChannel().getHttpTransport().isPushSupported();
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
|
Loading…
Reference in New Issue