(currentSession *session)
| 467 | } |
| 468 | |
| 469 | func sessionLastUsedAt(currentSession *session) time.Time { |
| 470 | if currentSession.lastUsedAt.IsZero() { |
| 471 | return currentSession.createdAt |
| 472 | } |
| 473 | return currentSession.lastUsedAt |
| 474 | } |
| 475 | |
| 476 | func acceptsStreamableHTTP(accept string) bool { |
| 477 | if accept == "" { |
no outgoing calls
no test coverage detected