MCPcopy Create free account
hub / github.com/code-scan/Goal / RespCookie

Method RespCookie

Ghttp/response.go:182–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 return -1
181}
182func (h *Http) RespCookie() string {
183 defer func() {
184 if r := recover(); r != nil {
185 log.Println("Recovered in RespCookie : ", r)
186 }
187 }()
188 if h.HttpResponse == nil || h.HttpResponse.Header == nil {
189 return ""
190 }
191 cookies := h.HttpResponse.Header.Values("set-cookie")
192 cks := strings.Join(cookies, "; ")
193 return cks
194}

Callers 2

TestPstFunction · 0.80
LoginMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestPstFunction · 0.64