We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eea180 commit 1a2f5caCopy full SHA for 1a2f5ca
sys/parsoid.js
@@ -241,11 +241,11 @@ class ParsoidService {
241
} else {
242
return hyper.get({ uri: this._getLatestBucketURI(domain, title) })
243
.then((res) => {
244
- if (tid && tid !== res.headers.etag) {
+ const resEtag = mwUtil.parseETag(res.headers.etag);
245
+ if (tid && tid !== resEtag.tid) {
246
throw new HTTPError({ status: 404 });
247
}
248
- const resEtag = mwUtil.parseETag(res.headers.etag);
249
if (revision !== resEtag.rev) {
250
251
0 commit comments