tck/src/main/java/org/hobsoft/microbrowser/tck/support/mockwebserver/MockWebServerUtils.java
public static RecordedRequest takeRequest(MockWebServer server) throws InterruptedException
	{
		RecordedRequest request = server.takeRequest();
		
		while ("GET /favicon.ico HTTP/1.1".equals(request.getRequestLine()))
		{
			request = server.takeRequest();
		}
		
		return request;
	}
public static RecordedRequest takeRequest(MockWebServer server) throws InterruptedException
	{
		RecordedRequest request = server.takeRequest();
		
		while ("GET /favicon.ico HTTP/1.1".equals(request.getRequestLine()))
		{
			request = server.takeRequest();
		}
		
		return request;
	}
public static RecordedRequest takeRequest ( MockWebServer server ) throws InterruptedException { RecordedRequest request = server . takeRequest ( ) ; while ( "GET /favicon.ico HTTP/1.1" . equals ( request . getRequestLine ( ) ) ) { request = server . takeRequest ( ) ; } return request ; }
Workaround MockWebServer issue #11.

@see <a href="https://code.google.com/p/mockwebserver/issues/detail?id=11">Issue #11</a>
Workaround MockWebServer issue #11 .