opendap/src/main/java/opendap/servlet/ReqState.java
public boolean getAcceptsCompressed() {

    boolean isTiny;

    isTiny = false;
    String encoding = this.myHttpRequest.getHeader("Accept-Encoding");

    if (encoding != null)
      isTiny = encoding.contains("deflate");
    else
      isTiny = false;

    return (isTiny);
  }
public boolean getAcceptsCompressed() {

    boolean isTiny;

    isTiny = false;
    String encoding = this.myHttpRequest.getHeader("Accept-Encoding");

    if (encoding != null)
      isTiny = encoding.contains("deflate");
    else
      isTiny = false;

    return (isTiny);
  }
public boolean getAcceptsCompressed ( ) { boolean isTiny ; isTiny = false ; String encoding = this . myHttpRequest . getHeader ( "Accept-Encoding" ) ; if ( encoding != null ) isTiny = encoding . contains ( "deflate" ) ; else isTiny = false ; return ( isTiny ) ; }
*************************************************************************
Evaluates the (private) request object to determine if the client that
sent the request accepts compressed return documents.

@return True is the client accpets a compressed return document.
False otherwise.
************************************************************************* Evaluates the ( private ) request object to determine if the client that sent the request accepts compressed return documents .