Commit f43e09a
Fix undef
```
NoMethodError: undefined method `header' for #<Rack::MockResponse:0x00005611e9cbc950>
Did you mean? headers
```
`#header` was dropped in the Rack 3.1 release (https://github.com/rack/rack/blob/main/CHANGELOG.md#removed-1), while the `#location` helper has been around since 2.x (rack/rack@5e0b0a3)header method failures1 parent 0bf8a98 commit f43e09a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments