Home | History | Annotate | Download | only in http

Lines Matching refs:ecr

560 func (ecr *expectContinueReader) Read(p []byte) (n int, err error) {
561 if ecr.closed {
564 if !ecr.resp.wroteContinue && !ecr.resp.conn.hijacked() {
565 ecr.resp.wroteContinue = true
566 ecr.resp.conn.buf.WriteString("HTTP/1.1 100 Continue\r\n\r\n")
567 ecr.resp.conn.buf.Flush()
569 n, err = ecr.readCloser.Read(p)
571 ecr.sawEOF = true
576 func (ecr *expectContinueReader) Close() error {
577 ecr.closed = true
578 ecr.readCloser.Close()
866 if ecr, ok := w.req.Body.(*expectContinueReader); ok && !ecr.sawEOF {