* Retrieves a list of values for a given header. * * @param name The header name from which to retrieve values. * * @returns A string of values if the header exists, null otherwise.
(name: string)
| 126 | * @returns A string of values if the header exists, null otherwise. |
| 127 | */ |
| 128 | getAll(name: string): string[] | null { |
| 129 | this.init(); |
| 130 | |
| 131 | return this.headers.get(name.toLowerCase()) || null; |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Appends a new value to the existing set of values for a header |