Org.Apache.Http.Protocol.HttpRequestExecutor.CanResponseHaveBody Method
Decide whether a response comes with an entity.

Syntax

[Android.Runtime.Register("canResponseHaveBody", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;)Z", "GetCanResponseHaveBody_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpResponse_Handler")]
protected virtual bool CanResponseHaveBody (Org.Apache.Http.IHttpRequest request, Org.Apache.Http.IHttpResponse response)

Parameters

request
the request, to obtain the executed method
response
the response, to obtain the status code

Returns

Documentation for this section has not yet been entered.

Remarks

Decide whether a response comes with an entity. The implementation in this class is based on RFC 2616. Unknown methods and response codes are supposed to indicate responses with an entity.

Derived executors can override this method to handle methods and response codes not specified in RFC 2616.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Protocol
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1