Closed GoogleCodeExporter closed 8 years ago
OK, I found out the XhrManager DOES work correctly, it sends the headers as
expected.
However, when using
var xhrManager = new easygis.net.XhrManager(0, headers, MIN_COUNT)
with MIN_COUNT>0, the request is send without the headers!
I haven't found the bug itself, but in my case the errors was caused by a typo
in the documentation. The goog.structs.PriorityPool docs say:
@param {number=} opt_minCount Min. number of objects (Default: 1).
This is not correct, the default is 0.
Original comment by etimm...@gmail.com
on 14 Aug 2013 at 2:49
[deleted comment]
[deleted comment]
The same typo holds for goog.net.XhrManager
Original comment by etimm...@gmail.com
on 14 Aug 2013 at 3:16
Duplicate of https://code.google.com/p/closure-library/issues/detail?id=191
Original comment by etimm...@gmail.com
on 14 Aug 2013 at 7:58
2 years late, but this was recently fixed.
https://github.com/google/closure-library/commit/98aad107ae6fa20c0a2f06b0ab827fa
361017c6b
Original comment by joelt...@google.com
on 6 Aug 2015 at 11:05
Original issue reported on code.google.com by
etimm...@gmail.com
on 24 May 2013 at 11:55