Commit 291197d
Avatarsia
fix(woocommerce): expose response headers from inline WC client
Adds getHeaders() / getHeader() accessors to the inline WCResponse class
and captures HTTP response headers case-insensitively via CURLOPT_HEADERFUNCTION.
Required foundation for pagination handling (Issue OpenXE-org#262).1 parent 8bb1397 commit 291197d
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
1248 | | - | |
| 1248 | + | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1255 | 1268 | | |
1256 | 1269 | | |
1257 | 1270 | | |
| |||
2137 | 2150 | | |
2138 | 2151 | | |
2139 | 2152 | | |
| 2153 | + | |
2140 | 2154 | | |
2141 | 2155 | | |
2142 | 2156 | | |
| |||
0 commit comments