Commit 51b0f89
committed
check existence of expected headers
... do not depend on returned headers such as x-total-pages. It could
give raise to false negatives. Given return HTTP return code is good
Better for caller to fail on bad return data (if indeed data is bad)
than fail to return good data.
Signed-off-by: smuralidharan <smuralidharan@manetu.com>1 parent 6b53564 commit 51b0f89
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
0 commit comments