func (c *Cookie) HTTPOnly() bool {
	return c.httpOnly
}
HTTPOnly returns true if the cookie is http only.
package fasthttp
import (
	"bytes"
	"errors"
	"io"
	"sync"
	"time"
)
var zeroTime time.Time
var (
	CookieExpireDelete = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
	CookieExpireUnlimited = zeroTime
)
func AcquireCookie() *Cookie {
	return cookiePool.Get().(*Cookie)
}
func ReleaseCookie(c *Cookie) {
	c.Reset()
	cookiePool.Put(c)
}
var cookiePool = &sync.Pool{
	New: func() interface{} {
		return &Cookie{}
	},
}
type Cookie struct {
	noCopy noCopy
	key    []byte
	value  []byte
	expire time.Time
	domain []byte
	path   []byte
	httpOnly bool
	secure   bool
	bufKV argsKV
	buf   []byte
}
func (c *Cookie) CopyTo(src *Cookie) {
	c.Reset()
	c.key = append(c.key[:0], src.key...)
	c.value = append(c.value[:0], src.value...)
	c.expire = src.expire
	c.domain = append(c.domain[:0], src.domain...)
	c.path = append(c.path[:0], src.path...)
	c.httpOnly = src.httpOnly
	c.secure = src.secure
}