Home | History | Annotate | Download | only in http

Lines Matching refs:Response

26 	Resp Response
39 // Unchunked response without Content-Length.
46 Response{
63 // Unchunked HTTP/1.1 response without Content-Length or
70 Response{
85 // Unchunked HTTP/1.1 204 response without Content-Length.
91 Response{
106 // Unchunked response with Content-Length.
114 Response{
132 // Chunked response without Content-Length.
144 Response{
160 // Chunked response with Content-Length.
171 Response{
187 // Chunked response in response to a HEAD request
193 Response{
209 // Content-Length in response to a HEAD request
215 Response{
231 // Content-Length in response to a HEAD request with HTTP/1.1
237 Response{
253 // No Content-Length or Chunked in response to a HEAD request
258 Response{
280 Response{
301 Response{
320 Response{
342 Response{
359 // Unchunked response without Content-Length, Request is nil
366 Response{
391 Response{
417 Response{
443 Response{
461 // Issue 12785: HTTP/1.0 response with bogus (to be ignored) Transfer-Encoding.
469 Response{
484 // Issue 12785: HTTP/1.0 response with bogus (to be ignored) Transfer-Encoding.
493 Response{
517 Response{
537 // tests successful calls to ReadResponse, and inspects the returned Response.
548 diff(t, fmt.Sprintf("#%d Response", i), resp, &tt.Resp)
647 fatalf("expected response length %d, got %d", expectedLength, resp.ContentLength)
700 location string // Response's Location header or ""
701 requrl string // Response.Request.URL or ""
715 res := new(Response)
750 r := &Response{
836 {"", "HTTP/1.1", nil, "malformed HTTP response"},
837 {"", "HTTP/2.0", nil, "malformed HTTP response"},
918 // needsSniff returns true with an empty response.
919 r := &response{}