(resp, method)
| 735 | |
| 736 | sink('Standard vs compat mode', function (test, ok) { |
| 737 | function methodMatch(resp, method) { |
| 738 | return resp && resp.method === method |
| 739 | } |
| 740 | function headerMatch(resp, key, expected) { |
| 741 | return resp && resp.headers && resp.headers[key] === expected |
| 742 | } |