Smalyshev added a comment.

I see the code is:

if ( request.getAllResponseHeaders() === '' ) {
  // query might have been too long for GET, retry with POST
  settings.method = 'POST';
  $.ajax( self._serviceUri, settings ).done( done ).fail( fail );
}

I suspect when the server rejects it, the headers are not empty. It also can be a proxy on the way rejecting it, of course.


TASK DETAIL
https://phabricator.wikimedia.org/T213889

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Lucas_Werkmeister_WMDE, Aklapper, Smalyshev, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, D3r1ck01, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to